From patchwork Sun Aug 2 12:04:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: 'Timothy Arceri' via Patchwork Forward X-Patchwork-Id: 51800 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id F072B229FD for ; Sun, 2 Aug 2015 12:05:13 +0000 (UTC) Received: by wibdx1 with SMTP id dx1sf19140708wib.2 for ; Sun, 02 Aug 2015 05:05:13 -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:in-reply-to:references: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=5CMOFgfIJGnS95toH92F2g6tdCj3lD5oc4oytww41T0=; b=bNgAiXZAuBjG5GirtFPeq3j8rudkUUyckKZiJok7HduAlbvfVD8JnZ6o8GTgWAQCge 3f5NaMS0NmPZaOLf6pELpUSExTd2Hs/6K9SsggVxe91K2b628CIsx3adFU8sWVD4fpTw fdUn2o5ukDzbuwmUWpwD/vDVsP+GCC1Z/arSsNvdJfjL4utvGgavhMcz3XNVJc1Oud8X 7j36GVx+EPfV/GrBrODvJXIvBPk8q5pReiQK47iQ/aVDJgK5VnWTROb2bDPGH4JsOLhP U5brfjVePCyOrDkVDSADkoypJ8BYMVOlIkYoDIszn2ur0tIaxdTPuuDPthMhyRwEO5Mp wIng== X-Gm-Message-State: ALoCoQksBPnPpj9Jts/21nGXG4GIOkFxOGhH6MxTRJq19fgOKCJ/ECCVqIO5K8VsL+u7iJD3fp8K X-Received: by 10.180.79.10 with SMTP id f10mr4218510wix.3.1438517113216; Sun, 02 Aug 2015 05:05:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.179.171 with SMTP id dh11ls404841lac.47.gmail; Sun, 02 Aug 2015 05:05:13 -0700 (PDT) X-Received: by 10.112.140.132 with SMTP id rg4mr11926488lbb.49.1438517113079; Sun, 02 Aug 2015 05:05:13 -0700 (PDT) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com. [2a00:1450:4010:c04::233]) by mx.google.com with ESMTPS id c9si9253106lac.128.2015.08.02.05.05.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 05:05:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::233 as permitted sender) client-ip=2a00:1450:4010:c04::233; Received: by lbbud7 with SMTP id ud7so61842455lbb.3 for ; Sun, 02 Aug 2015 05:05:13 -0700 (PDT) X-Received: by 10.112.126.101 with SMTP id mx5mr12419473lbb.35.1438517112823; Sun, 02 Aug 2015 05:05:12 -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.7.198 with SMTP id l6csp1363545lba; Sun, 2 Aug 2015 05:05:11 -0700 (PDT) X-Received: by 10.70.42.73 with SMTP id m9mr4327916pdl.33.1438517110904; Sun, 02 Aug 2015 05:05:10 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id pk7si21280084pac.95.2015.08.02.05.05.10; Sun, 02 Aug 2015 05:05:10 -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 D50906E14A; Sun, 2 Aug 2015 05:05:09 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm10-vm4.bullet.mail.gq1.yahoo.com (nm10-vm4.bullet.mail.gq1.yahoo.com [98.136.218.95]) by gabe.freedesktop.org (Postfix) with ESMTPS id A33E86E14A for ; Sun, 2 Aug 2015 05:05:08 -0700 (PDT) Received: from [98.137.12.57] by nm10.bullet.mail.gq1.yahoo.com with NNFMP; 02 Aug 2015 12:05:08 -0000 Received: from [98.136.164.72] by tm2.bullet.mail.gq1.yahoo.com with NNFMP; 02 Aug 2015 12:05:08 -0000 Received: from [127.0.0.1] by smtp234.mail.gq1.yahoo.com with NNFMP; 02 Aug 2015 12:05:08 -0000 X-Yahoo-Newman-Id: 433621.76184.bm@smtp234.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BbAiaa4VM1kd4xzeW54dD1dlXc_ISJsgUqiQ4Dx0je8ohzT Ss0kEE.yUgHxj6SZCM7wJ6OZlMO0LClzZYKU.ulQfqO2mfmz32H._h42m0VX W7HEh_VTIzHpfD9BaJ9eZu5LyvoRug.DujvGTjI_ok.2fvstQpXEWhFNTIUj LMQkC.yXjgJkseYKDIax1Usltw1iKppmXKOE5wR5tvMUtW0nxgA5TIcYY0wV JChuYcxGM9A9yNINsjU9GBrB06.WVRLRwiCCIOS.JpkekRwY__CAMD05zFko dH9UCk7xptxjyydAWWd2OdJmafDnK_oUudfBn93hP80Uay91i6.tYtfqySBh _R5UtaYYWvIqXtXn36w4M4J_ofnsP4KysrA2xXC79t9BkBMq_6r5QfhaBF3Q tRE6ud9nH4O9KGklf1JZHPU960cNfGHbr8A5AOWMAswmZD_KAzaWpwJxFQN_ IGSD8KJSPSG6MPae42aJhnOvlqZIDG9MyjKKWmr8pw7jej78.0uGtU7ba71P AsNnxmTW5zYu.TJ.yrjNwabvxJ_6zde2iDtA- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sun, 2 Aug 2015 22:04:55 +1000 Message-Id: <1438517096-3686-2-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1438517096-3686-1-git-send-email-t_arceri@yahoo.com.au> References: <1438517096-3686-1-git-send-email-t_arceri@yahoo.com.au> Subject: [Piglit] [PATCH 2/3] arb_arrays_of_arrays: fix vs decrement atomic counter test 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:c04::233 as permitted sender) smtp.mail=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 --- .../atomic_counters/vs-simple-inc-dec-read.shader_test | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test b/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test index a3df129..68f064e 100644 --- a/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test +++ b/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test @@ -52,6 +52,12 @@ void main() v1[6] <= v0[6] && v1[7] != v0[7]) passed = false; + /* Skip one decrement since it may be the 0 => 0xffffffff + * transition. + */ + atomicCounterDecrement(a1[0][1][1]); + atomicCounterDecrement(a1[2][0][1]); + /* Get all initail values of a1 */ v0[0] = atomicCounter(a1[0][0][0]); v0[1] = atomicCounter(a1[0][0][1]); @@ -66,11 +72,6 @@ void main() v0[10] = atomicCounter(a1[2][0][1]); v0[11] = atomicCounter(a1[2][1][0]); - /* Skip one decrement since it may be the 0 => 0xffffffff - * transition. - */ - atomicCounterDecrement(a1[2][0][1]); - /* Test that a decrement of an atomic * counter results in a smaller value. * Also test that all other array elements are unaffected.