From patchwork Wed Apr 1 05:01:27 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: 46609 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 ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 128182159A for ; Wed, 1 Apr 2015 05:02:09 +0000 (UTC) Received: by lbcne10 with SMTP id ne10sf477705lbc.1 for ; Tue, 31 Mar 2015 22:02:08 -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=spXGG27+xP9R3214xJnVbaV1e4FsDnmxenttBMSJbDk=; b=XAYCds+AjVYmn1rqJsY4lKPyFNNGpXmHjbMzQ3qe7khJtW1n1Dk78rdIqUA2+7rLKh YLHHu6b1ZUakDC9jz3jPmAHgDC12RumzTiy5rMqKq2sKrEqHVc/1aUHTsULRlao1CwCK k0pcxdF6nb51hNrWUEzVs0MNPigA3wOyO0mMeojX+Roxq5j7pSsSUwxlpd/sF32ciuMk BCsgx0AO20ffJ/zXWC/ngkWG4V/xpak5YsZQJiI7AGRRu9s07QlfajV/T9f+3m5RdPcX kvyIn44Fo+eYZsT5EFLTNwmnJlxPA34LKOau3Ral4MLOsWWM+dGc37KuNjkqMgh7NS7a 9U0A== X-Gm-Message-State: ALoCoQkESukWLLWZV06j2LtHXl6ahXmJA4W8e74czecbk7iRH7ZIU7ed1U9Snhz2I/NrUP5FKXjk X-Received: by 10.112.125.67 with SMTP id mo3mr8915674lbb.6.1427864528002; Tue, 31 Mar 2015 22:02:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.66 with SMTP id q2ls19568laq.66.gmail; Tue, 31 Mar 2015 22:02:07 -0700 (PDT) X-Received: by 10.112.132.35 with SMTP id or3mr21982719lbb.85.1427864527712; Tue, 31 Mar 2015 22:02:07 -0700 (PDT) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com. [2a00:1450:4010:c03::233]) by mx.google.com with ESMTPS id n1si593629lag.68.2015.03.31.22.02.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 22:02:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::233 as permitted sender) client-ip=2a00:1450:4010:c03::233; Received: by labe2 with SMTP id e2so28100177lab.3 for ; Tue, 31 Mar 2015 22:02:07 -0700 (PDT) X-Received: by 10.152.26.34 with SMTP id i2mr12591641lag.117.1427864527592; Tue, 31 Mar 2015 22:02:07 -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.57.201 with SMTP id k9csp419854lbq; Tue, 31 Mar 2015 22:02:06 -0700 (PDT) X-Received: by 10.66.150.165 with SMTP id uj5mr75012101pab.54.1427864525507; Tue, 31 Mar 2015 22:02:05 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id rh8si1134244pdb.68.2015.03.31.22.02.04; Tue, 31 Mar 2015 22:02:05 -0700 (PDT) Received-SPF: none (google.com: piglit-bounces@lists.freedesktop.org does not designate permitted sender hosts) client-ip=131.252.210.177; Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C2C46E7CD; Tue, 31 Mar 2015 22:02:04 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm20-vm1.bullet.mail.gq1.yahoo.com (nm20-vm1.bullet.mail.gq1.yahoo.com [98.136.217.32]) by gabe.freedesktop.org (Postfix) with ESMTP id EF8A26E7CD for ; Tue, 31 Mar 2015 22:02:02 -0700 (PDT) Received: from [98.137.12.59] by nm20.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 05:02:02 -0000 Received: from [208.71.42.206] by tm4.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 05:02:02 -0000 Received: from [127.0.0.1] by smtp217.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 05:02:02 -0000 X-Yahoo-Newman-Id: 736883.40147.bm@smtp217.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: J06fVgwVM1kRM8b3PnPgbwJA4odGV3vnZ_LwV4Y7JOBLvjT 6p73tAnyGIWkyBZb2lz_2trUY6BknUcGrd5CQ_gwKOobAu6Wvy91wPOtedZ2 8AMhGkeW5CNW1Iq692gm_9z4ABewj3dJ.kUotFqkMBaiVDT8tQcmb7NoXdWV QAJXVYqSIuvQPE2Lru0C0voxznBP2vSb3K.FcDjy2aKO5WjZJhMtHlrClCCB f9LtE0HRbQamPXN.VDivt9aXrbLmt4fm1p6iBSt33uCgk3iILJE347tbMDdQ lqlXAuaNbVbtr4lpUyWwVr0WCwJl_1EgOIJPbUZ84WIPnXtDdOoDOVt1zJwx RNzC0QT2fYQlnL_60KRdNtOCZod.vxhxhKDG4eYG6_doW0NoHnf2U6fUTZSU jVdW0pTVZaJuVPebQgxmbMI2pZV3PN3i8v9frT8PvQoDKv.EtWLWoG1K4eaq TZUdiyqlgaRAGLcPc_Pr_YnGBP3M6lKaZpfjRwHE1pZvkEpar4Ips8oZF3h4 Zqow1FLc_Gai_1isCCkV5pj8CHGvpqSYG5J4- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Wed, 1 Apr 2015 16:01:27 +1100 Message-Id: <1427864487-10053-2-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1427864487-10053-1-git-send-email-t_arceri@yahoo.com.au> References: <1427864487-10053-1-git-send-email-t_arceri@yahoo.com.au> Subject: [Piglit] [PATCH 2/2] arb_arrays_of_arrays: compile test all basic types 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:c03::233 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@; 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 Test results: Nvidia GeForce 840M - NVIDIA 346.47: pass --- .../compiler/glsl-1.20-basic-types.vert | 46 ++++++++++++++++++++++ .../compiler/glsl-1.30-basic-types.vert | 31 +++++++++++++++ .../compiler/glsl-1.40-basic-types.vert | 19 +++++++++ .../compiler/glsl-1.50-basic-types.vert | 18 +++++++++ .../compiler/glsl-4.00-basic-types.vert | 32 +++++++++++++++ .../compiler/glsl-4.20-basic-types.frag | 46 ++++++++++++++++++++++ 6 files changed, 192 insertions(+) create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/glsl-1.20-basic-types.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/glsl-1.30-basic-types.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/glsl-1.40-basic-types.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/glsl-1.50-basic-types.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/glsl-4.00-basic-types.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.20-basic-types.vert b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.20-basic-types.vert new file mode 100644 index 0000000..3bb25e1 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.20-basic-types.vert @@ -0,0 +1,46 @@ +/* [config] + * expect_result: pass + * glsl_version: 4.20 + * [end config] + * + * Test the basic types added in glsl 4.20 + */ +#version 420 +#extension GL_ARB_arrays_of_arrays: enable + +uniform atomic_uint array01[1][1]; +writeonly uniform image1D array02[1][1]; +writeonly uniform iimage1D array03[1][1]; +writeonly uniform uimage1D array04[1][1]; +writeonly uniform image2D array05[1][1]; +writeonly uniform iimage2D array06[1][1]; +writeonly uniform uimage2D array07[1][1]; +writeonly uniform image3D array08[1][1]; +writeonly uniform iimage3D array09[1][1]; +writeonly uniform uimage3D array10[1][1]; +writeonly uniform image2DRect array11[1][1]; +writeonly uniform iimage2DRect array12[1][1]; +writeonly uniform uimage2DRect array13[1][1]; +writeonly uniform imageCube array14[1][1]; +writeonly uniform iimageCube array15[1][1]; +writeonly uniform uimageCube array16[1][1]; +writeonly uniform imageBuffer array17[1][1]; +writeonly uniform iimageBuffer array18[1][1]; +writeonly uniform uimageBuffer array19[1][1]; +writeonly uniform image1DArray array20[1][1]; +writeonly uniform iimage1DArray array21[1][1]; +writeonly uniform uimage1DArray array22[1][1]; +writeonly uniform image2DArray array23[1][1]; +writeonly uniform iimage2DArray array24[1][1]; +writeonly uniform uimage2DArray array25[1][1]; +writeonly uniform imageCubeArray array26[1][1]; +writeonly uniform iimageCubeArray array27[1][1]; +writeonly uniform uimageCubeArray array28[1][1]; +writeonly uniform image2DMS array29[1][1]; +writeonly uniform iimage2DMS array30[1][1]; +writeonly uniform uimage2DMS array31[1][1]; +writeonly uniform image2DMSArray array32[1][1]; +writeonly uniform iimage2DMSArray array33[1][1]; +writeonly uniform uimage2DMSArray array34[1][1]; + +void main() { gl_FragColor = vec4(0.0); } diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.30-basic-types.vert b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.30-basic-types.vert new file mode 100644 index 0000000..a712980 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.30-basic-types.vert @@ -0,0 +1,31 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.30 + * [end config] + * + * Test the basic types added in glsl 1.30 + */ +#version 130 +#extension GL_ARB_arrays_of_arrays: enable + +uniform uint array01[1][1]; +uniform uvec2 array02[1][1]; +uniform uvec3 array03[1][1]; +uniform uvec4 array04[1][1]; +uniform samplerCubeShadow array05[1][1]; +uniform sampler1DArray array06[1][1]; +uniform sampler2DArray array07[1][1]; +uniform isampler1D array08[1][1]; +uniform isampler2D array09[1][1]; +uniform isampler3D array10[1][1]; +uniform isamplerCube array11[1][1]; +uniform isampler1DArray array12[1][1]; +uniform isampler2DArray array13[1][1]; +uniform usampler1D array14[1][1]; +uniform usampler2D array15[1][1]; +uniform usampler3D array16[1][1]; +uniform usamplerCube array17[1][1]; +uniform usampler1DArray array18[1][1]; +uniform usampler2DArray array19[1][1]; + +void main() { gl_Position = vec4(0.0); } diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.40-basic-types.vert b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.40-basic-types.vert new file mode 100644 index 0000000..4d83565 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.40-basic-types.vert @@ -0,0 +1,19 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.40 + * [end config] + * + * Test the basic types added in glsl 1.40 + */ +#version 140 +#extension GL_ARB_arrays_of_arrays: enable + +uniform sampler2DRect array01[1][1]; +uniform isampler2DRect array02[1][1]; +uniform usampler2DRect array03[1][1]; +uniform sampler2DRectShadow array04[1][1]; +uniform samplerBuffer array05[1][1]; +uniform isamplerBuffer array06[1][1]; +uniform usamplerBuffer array07[1][1]; + +void main() { gl_Position = vec4(0.0); } diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.50-basic-types.vert b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.50-basic-types.vert new file mode 100644 index 0000000..8996870 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-1.50-basic-types.vert @@ -0,0 +1,18 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.50 + * [end config] + * + * Test the basic types added in glsl 1.50 + */ +#version 150 +#extension GL_ARB_arrays_of_arrays: enable + +uniform sampler2DMS array01[1][1]; +uniform isampler2DMS array02[1][1]; +uniform usampler2DMS array03[1][1]; +uniform sampler2DMSArray array04[1][1]; +uniform isampler2DMSArray array05[1][1]; +uniform usampler2DMSArray array06[1][1]; + +void main() { gl_Position = vec4(0.0); } diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.00-basic-types.vert b/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.00-basic-types.vert new file mode 100644 index 0000000..dd6ea25 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.00-basic-types.vert @@ -0,0 +1,32 @@ +/* [config] + * expect_result: pass + * glsl_version: 4.00 + * [end config] + * + * Test the basic types added in glsl 4.00 + */ +#version 400 +#extension GL_ARB_arrays_of_arrays: enable + +uniform double array01[1][1]; +uniform dvec2 array02[1][1]; +uniform dvec3 array03[1][1]; +uniform dvec4 array04[1][1]; +uniform dmat2 array05[1][1]; +uniform dmat2x2 array06[1][1]; +uniform dmat2x3 array07[1][1]; +uniform dmat2x4 array08[1][1]; +uniform dmat3 array09[1][1]; +uniform dmat3x2 array10[1][1]; +uniform dmat3x3 array11[1][1]; +uniform dmat3x4 array12[1][1]; +uniform dmat4 array13[1][1]; +uniform dmat4x2 array14[1][1]; +uniform dmat4x3 array15[1][1]; +uniform dmat4x4 array16[1][1]; +uniform samplerCubeArray array17[1][1]; +uniform isamplerCubeArray array18[1][1]; +uniform usamplerCubeArray array19[1][1]; +uniform samplerCubeArrayShadow array20[1][1]; + +void main() { gl_Position = vec4(0.0); } diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag b/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag new file mode 100644 index 0000000..3bb25e1 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag @@ -0,0 +1,46 @@ +/* [config] + * expect_result: pass + * glsl_version: 4.20 + * [end config] + * + * Test the basic types added in glsl 4.20 + */ +#version 420 +#extension GL_ARB_arrays_of_arrays: enable + +uniform atomic_uint array01[1][1]; +writeonly uniform image1D array02[1][1]; +writeonly uniform iimage1D array03[1][1]; +writeonly uniform uimage1D array04[1][1]; +writeonly uniform image2D array05[1][1]; +writeonly uniform iimage2D array06[1][1]; +writeonly uniform uimage2D array07[1][1]; +writeonly uniform image3D array08[1][1]; +writeonly uniform iimage3D array09[1][1]; +writeonly uniform uimage3D array10[1][1]; +writeonly uniform image2DRect array11[1][1]; +writeonly uniform iimage2DRect array12[1][1]; +writeonly uniform uimage2DRect array13[1][1]; +writeonly uniform imageCube array14[1][1]; +writeonly uniform iimageCube array15[1][1]; +writeonly uniform uimageCube array16[1][1]; +writeonly uniform imageBuffer array17[1][1]; +writeonly uniform iimageBuffer array18[1][1]; +writeonly uniform uimageBuffer array19[1][1]; +writeonly uniform image1DArray array20[1][1]; +writeonly uniform iimage1DArray array21[1][1]; +writeonly uniform uimage1DArray array22[1][1]; +writeonly uniform image2DArray array23[1][1]; +writeonly uniform iimage2DArray array24[1][1]; +writeonly uniform uimage2DArray array25[1][1]; +writeonly uniform imageCubeArray array26[1][1]; +writeonly uniform iimageCubeArray array27[1][1]; +writeonly uniform uimageCubeArray array28[1][1]; +writeonly uniform image2DMS array29[1][1]; +writeonly uniform iimage2DMS array30[1][1]; +writeonly uniform uimage2DMS array31[1][1]; +writeonly uniform image2DMSArray array32[1][1]; +writeonly uniform iimage2DMSArray array33[1][1]; +writeonly uniform uimage2DMSArray array34[1][1]; + +void main() { gl_FragColor = vec4(0.0); }