From patchwork Sat Oct 17 22:11:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: 'Timothy Arceri' via Patchwork Forward X-Patchwork-Id: 55171 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 4EA0622FFA for ; Sat, 17 Oct 2015 22:12:01 +0000 (UTC) Received: by lbbpp2 with SMTP id pp2sf2627700lbb.0 for ; Sat, 17 Oct 2015 15:12:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:reply-to; bh=G4NYplREdRnmg4At9az9gbtq4J+PnTCCjo3qPsRTR70=; b=Qd4ceXtZu3B/xPU45Rtp2/CeT9nqv2jldUjEq3jLC1Jgvfc8gFuzg+E6SwEPQvQAZf EL1qlelRVZE6LoE5Bl33OVkvlb+2PWJqpwHjI/KixTpo0ButAqmag+6TC3n8r56csUUH xDn3wDYxyZPbTHnEdS1u+lPyRMnj6A/0dXwtRcwpkMhFE2WmWySSHLt/2GZ392PFWAkV b2FznI1wGCjFT8EJNCRobFQPNomT09rbaDa/0beb86AZwlx8TKt+ZjUwbOa7d4bfet/6 nGkfFvDXHVSfZaUTIbrozH0eTnF4PQDCBxiqaZIqZwQm4g5GdVEv8mgv/ULbNJyTaNiB Yfow== X-Gm-Message-State: ALoCoQkHLb9PVZCrfk/nXE9Q39Kydh0gANBOTGuzd3R/j9YjwOHnXtrihfFUwY99017HH4yI2X5J X-Received: by 10.112.145.227 with SMTP id sx3mr519637lbb.12.1445119920272; Sat, 17 Oct 2015 15:12:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.43.133 with SMTP id r127ls428474lfr.74.gmail; Sat, 17 Oct 2015 15:12:00 -0700 (PDT) X-Received: by 10.112.77.10 with SMTP id o10mr11445032lbw.28.1445119920171; Sat, 17 Oct 2015 15:12:00 -0700 (PDT) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com. [2a00:1450:4010:c07::229]) by mx.google.com with ESMTPS id o18si15045211lfo.58.2015.10.17.15.12.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Oct 2015 15:12:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) client-ip=2a00:1450:4010:c07::229; Received: by lffy185 with SMTP id y185so92538286lff.2 for ; Sat, 17 Oct 2015 15:12:00 -0700 (PDT) X-Received: by 10.25.38.9 with SMTP id m9mr7288200lfm.112.1445119920059; Sat, 17 Oct 2015 15:12:00 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp684387lbq; Sat, 17 Oct 2015 15:11:59 -0700 (PDT) X-Received: by 10.50.128.163 with SMTP id np3mr2660780igb.62.1445119919192; Sat, 17 Oct 2015 15:11:59 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id w8si8651936igb.83.2015.10.17.15.11.58; Sat, 17 Oct 2015 15:11:59 -0700 (PDT) Received-SPF: pass (google.com: domain of piglit-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5FBE36E00B; Sat, 17 Oct 2015 15:11:58 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm16-vm5.bullet.mail.gq1.yahoo.com (nm16-vm5.bullet.mail.gq1.yahoo.com [98.137.177.253]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F8806E00B for ; Sat, 17 Oct 2015 15:11:57 -0700 (PDT) Received: from [98.137.12.59] by nm16.bullet.mail.gq1.yahoo.com with NNFMP; 17 Oct 2015 22:11:56 -0000 Received: from [208.71.42.203] by tm4.bullet.mail.gq1.yahoo.com with NNFMP; 17 Oct 2015 22:11:56 -0000 Received: from [127.0.0.1] by smtp214.mail.gq1.yahoo.com with NNFMP; 17 Oct 2015 22:11:56 -0000 X-Yahoo-Newman-Id: 414558.84335.bm@smtp214.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BM.BJ5MVM1lpmcX0OL6A81PtjWf7eiu5RWjEyWUziKThxJo svywTAebD2inP3WqewHJPFbVvRx4lVaLfeQP9u9xElngycJJ2gjbjPqvGO.E BtzIii2n1IVm2K.7yLZVJtTcr_q5eXUEQ3jHtp8T7QDPn7PYkJXNLpoUtvSb ptnr34hFXU_D5HjipGyr.7HDiCK6nLRanRl5gLzMnMICqPc3O1zwK0EmD2Bm mWqx1efdojqKN.YapQmSao7VqnVTiscG3XRVLeStOT9zn7rIA_KLJP76me36 NloNFOvaxFR00jQ3.1j4MmePN4D0FI_rpQh8nT_REvSnbVR38jD4rb_jpAbx k1U1mztgY7NoqvaA8RrMUIYO7IvCTjdxssLTn6f._XjnrxWc1jEayJb49TSp NP97MfDJSc4s2Z2qJs2OLiH228mlyFzGcpkovjugJdD6JNbzctmdYxNgBGng Dc0o2hpFLYNRZZ0aJhARUC3KVnkj.1a5GDQ8Alwte21ic8V5OWPTR_Tsf6dD _L5y3uNCYztvPstq_4STLThE9ZrAQn.af7OY- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sun, 18 Oct 2015 09:11:45 +1100 Message-Id: <1445119905-6234-1-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.4.3 Subject: [Piglit] [PATCH] arb_shader_storage_buffer_object: test buffer member swizzle X-BeenThere: piglit@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: piglit-bounces@lists.freedesktop.org Sender: "Piglit" X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@yahoo.com.au; dmarc=fail (p=NONE dis=NONE) header.from=yahoo.com.au Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 X-Original-From: Timothy Arceri Reply-To: Timothy Arceri Tests a regression in Mesa. Reviewed-by: Samuel Iglesias Gonsálvez --- .../compiler/atomicMin-swizzle.vert | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert diff --git a/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert b/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert new file mode 100644 index 0000000..0a07ba5 --- /dev/null +++ b/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert @@ -0,0 +1,19 @@ +// [config] +// expect_result: pass +// glsl_version: 1.20 +// require_extensions: GL_ARB_shader_storage_buffer_object +// check_link: true +// [end config] + +#version 120 +#extension GL_ARB_shader_storage_buffer_object: require + +buffer bufblock { + ivec4 iface_var; +}; + +void main() +{ + atomicMin(iface_var.x, 2); + gl_Position = vec4(0.0); +}