From patchwork Mon Mar 30 07:29:01 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: 46472 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D535F2159A for ; Mon, 30 Mar 2015 07:29:17 +0000 (UTC) Received: by iesy4 with SMTP id y4sf196798326ies.0 for ; Mon, 30 Mar 2015 00:29:17 -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=FL0YkowekkoOWKyiamW2l9B5gZYrzrq6Joq7JERsMsc=; b=TB5fv50yC8252q0f+TpE9d++2I/hYEPJau1yPtX72KX7LS1evR+rEm7fn/b5GKWQrp A6kcxZpfcArE6c9WTntyBs6v1I5ZHsu7kMIvq6ZMcBHJd0+z4U1w/OJdt+UdIIHRhIS0 eX7spvygaFglOsc76zpEJZjHYLqEmuG5ztYLaShIK0LFi5cOByhFhAP5ZLfpQJW+mdyD 5ljW7oxqHNllsbHl8+bT1VdScBBnMSIwKbbYUxO+hWkkONS7WywBkHC4RH9QGuJqRJj8 H4HUS7I0FtpHyLT7s/LXUrSF0AaDBVULk9PyIgxv7f6DMJmnKGp02wsajveksETuEiMd iJ0w== X-Gm-Message-State: ALoCoQnjqliSDyuQiNqN3XWoWI/EP7hhQzZEFsnPDjnh4DPxY0F2iX/h3R4J2VQJnA1A3xcRE65+ X-Received: by 10.182.158.37 with SMTP id wr5mr34619472obb.1.1427700557471; Mon, 30 Mar 2015 00:29:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.175 with SMTP id l44ls2098148qgd.96.gmail; Mon, 30 Mar 2015 00:29:17 -0700 (PDT) X-Received: by 10.140.38.233 with SMTP id t96mr39518602qgt.54.1427700557387; Mon, 30 Mar 2015 00:29:17 -0700 (PDT) Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com. [2607:f8b0:400d:c04::22b]) by mx.google.com with ESMTPS id m63si9615559qge.85.2015.03.30.00.29.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 00:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400d:c04::22b as permitted sender) client-ip=2607:f8b0:400d:c04::22b; Received: by qgh3 with SMTP id 3so164598780qgh.2 for ; Mon, 30 Mar 2015 00:29:17 -0700 (PDT) X-Received: by 10.229.26.135 with SMTP id e7mr40673444qcc.5.1427700557291; Mon, 30 Mar 2015 00:29:17 -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.96.155.231 with SMTP id vz7csp1262041qdb; Mon, 30 Mar 2015 00:29:16 -0700 (PDT) X-Received: by 10.69.12.65 with SMTP id eo1mr55730295pbd.152.1427700555882; Mon, 30 Mar 2015 00:29:15 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id in5si13515212pbd.231.2015.03.30.00.29.15; Mon, 30 Mar 2015 00:29:15 -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 47F646E303; Mon, 30 Mar 2015 00:29:15 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm16-vm2.bullet.mail.gq1.yahoo.com (nm16-vm2.bullet.mail.gq1.yahoo.com [98.137.177.250]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E2EA6E303 for ; Mon, 30 Mar 2015 00:29:14 -0700 (PDT) Received: from [98.137.12.56] by nm16.bullet.mail.gq1.yahoo.com with NNFMP; 30 Mar 2015 07:29:13 -0000 Received: from [208.71.42.203] by tm1.bullet.mail.gq1.yahoo.com with NNFMP; 30 Mar 2015 07:29:13 -0000 Received: from [127.0.0.1] by smtp214.mail.gq1.yahoo.com with NNFMP; 30 Mar 2015 07:29:13 -0000 X-Yahoo-Newman-Id: 11260.37510.bm@smtp214.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _NhOol8VM1mArllULG3i4LTXawIZZ3IGLNjsExPO4cjea3W gay6XZ0yh7hMGfCH1yir9Ic_znvyA7jpeNKG0u54G1v7bubf4HRRjtnmmaby WDVYOYc_eJWy_qiXGerLUzoxJKyuB8fmw.NxB.WQ0H5uFdyy_mamwQ6PT8_p rJ_wqGO6BD22WYrdh7jc2l2EDsAjxRmN7yKJQ9A1kS7XuOhNKTsgMp97E3uV X4Jx9v.lgW9zG.9n250o7eB1NKFAQ4y_nrWGlBF9ShSnS_nm5qlxn12Kodbi afs.DHgI209hfBia0ZLKEJzsRtwOFWCLNlCZEQrVrrybJ1LIQAOv4HmNkuRi rcHF0c8NGZrk9gEtCvQezyEWbkWzo2_hHAcggN8HQJ8QrYObz3cLG4EjzwKP PrSjnYEJSn1TurM0YRoNqLTNffRuSryTg6il6_taafP_sH_eJiE02VyhysVg gzfwqc5GIt0QsQ00yojjqschZma52WfrfRbINEdVotjyRKSyN0zWC1pHQEhQ TbfnOS52t7SXQLMJ5M4lPuK609k3BjW1u3w-- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Mon, 30 Mar 2015 18:29:01 +1100 Message-Id: <1427700541-3937-1-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 Subject: [Piglit] [PATCH] arb_arrays_of_arrays: compile test 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 2607:f8b0:400d:c04::22b 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 --- This is just /tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-any-type.vert with an extra dimension added. .../compiler/arrays-of-any-type.vert | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/arrays-of-any-type.vert diff --git a/tests/spec/arb_arrays_of_arrays/compiler/arrays-of-any-type.vert b/tests/spec/arb_arrays_of_arrays/compiler/arrays-of-any-type.vert new file mode 100644 index 0000000..0ce45da --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/arrays-of-any-type.vert @@ -0,0 +1,44 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.20 + * [end config] + * + * From page 19 (page 25 of the PDF) of the GLSL 1.20 spec: + * + * "All basic types and structures can be formed into arrays." + */ +#version 120 +#extension GL_ARB_arrays_of_arrays: enable + +uniform float array01[1][1]; +uniform int array02[1][1]; +uniform bool array03[1][1]; +uniform vec2 array04[1][1]; +uniform vec3 array05[1][1]; +uniform vec4 array06[1][1]; +uniform ivec2 array07[1][1]; +uniform ivec3 array08[1][1]; +uniform ivec4 array09[1][1]; +uniform bvec2 array10[1][1]; +uniform bvec3 array11[1][1]; +uniform bvec4 array12[1][1]; +uniform mat2 array13[1][1]; +uniform mat2x2 array14[1][1]; +uniform mat2x3 array15[1][1]; +uniform mat2x4 array16[1][1]; +uniform mat3 array17[1][1]; +uniform mat3x2 array18[1][1]; +uniform mat3x3 array19[1][1]; +uniform mat3x4 array20[1][1]; +uniform mat4 array21[1][1]; +uniform mat4x2 array22[1][1]; +uniform mat4x3 array23[1][1]; +uniform mat4x4 array24[1][1]; +uniform sampler1D array25[1][1]; +uniform sampler2D array26[1][1]; +uniform sampler3D array27[1][1]; +uniform samplerCube array28[1][1]; +uniform sampler1DShadow array29[1][1]; +uniform sampler2DShadow array30[1][1]; + +void main() { gl_Position = vec4(0.0); }