From patchwork Sat Jun 14 12:38:15 2014 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: 31900 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C3091201EF for ; Sat, 14 Jun 2014 12:38:39 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id rp16sf10009254pbb.1 for ; Sat, 14 Jun 2014 05:38:39 -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:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:reply-to :content-type:content-transfer-encoding; bh=nM5codWtujTsx5IY/wjen21dtgtKn2J88VF88cqs7QQ=; b=cgPUvfnXsB62Cq3rUVZphUqMumObnEYGjta5qRD0mQHxf/kfeASzn9C3jJLQp9lXJP iBuhIW49FID2CUtz0SSQH+dFKd+oeKzeqOYPJ0oGa5mYoKqp+y4zFVIJ5HoRZpsLEzRG Ki2zJ6zFBLtSF0G3qPo61fQzT1l8g9i5E+GA7Ap6uWpF1V8LzRarO/m70Hnzn1AdPhrN BthJKSW7Fm9Kg16ylentcc7Bt0XlsuAs7EUzD2lSCo1rc5s3FkfLnx9s9WD6R8q5o3/s 95p1G0thSDI+nYzk2kWNLhUMZYPMjw+qpZKkngOQ4ayFm9jm2tq4cBs63W2AMThApurt A/sA== X-Gm-Message-State: ALoCoQk7dqTyiRjf8jA9Xp9JrQEbCwkxTLC2wSmyHXuD7mpxE9/GFk2eBGuL0UStoTpspHXTAKB0 X-Received: by 10.66.249.68 with SMTP id ys4mr3713222pac.31.1402749519094; Sat, 14 Jun 2014 05:38:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.133 with SMTP id t5ls3754951qgt.43.gmail; Sat, 14 Jun 2014 05:38:38 -0700 (PDT) X-Received: by 10.58.85.3 with SMTP id d3mr126239vez.34.1402749518929; Sat, 14 Jun 2014 05:38:38 -0700 (PDT) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [2607:f8b0:400c:c01::22e]) by mx.google.com with ESMTPS id t3si2336356vcx.5.2014.06.14.05.38.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Jun 2014 05:38:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22e as permitted sender) client-ip=2607:f8b0:400c:c01::22e; Received: by mail-ve0-f174.google.com with SMTP id jx11so1671307veb.5 for ; Sat, 14 Jun 2014 05:38:38 -0700 (PDT) X-Received: by 10.58.77.9 with SMTP id o9mr57173vew.69.1402749518823; Sat, 14 Jun 2014 05:38:38 -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.221.54.6 with SMTP id vs6csp20644vcb; Sat, 14 Jun 2014 05:38:38 -0700 (PDT) X-Received: by 10.66.235.34 with SMTP id uj2mr10758609pac.28.1402749517890; Sat, 14 Jun 2014 05:38:37 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id rl10si5165647pbc.161.2014.06.14.05.38.37 for ; Sat, 14 Jun 2014 05:38:37 -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 4F0516E126; Sat, 14 Jun 2014 05:38:37 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm2-vm1.bullet.mail.bf1.yahoo.com (nm2-vm1.bullet.mail.bf1.yahoo.com [98.139.213.158]) by gabe.freedesktop.org (Postfix) with ESMTP id 78C266E12A for ; Sat, 14 Jun 2014 05:38:35 -0700 (PDT) Received: from [98.139.215.141] by nm2.bullet.mail.bf1.yahoo.com with NNFMP; 14 Jun 2014 12:38:35 -0000 Received: from [68.142.230.64] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 14 Jun 2014 12:38:35 -0000 Received: from [127.0.0.1] by smtp221.mail.bf1.yahoo.com with NNFMP; 14 Jun 2014 12:38:35 -0000 X-Yahoo-Newman-Id: 77635.37761.bm@smtp221.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: zle_VCsVM1mkUx5YIBVcx5u1_ShjCq8n1LFlNjNQzTpkRd4 0l_Zul9ELC7PGrX8cAXarTpUgdxTRLltoHOaTMvUUQpnFjtxz1VztlTlmN79 bXhn8ioBiegte8k4OvARxcw7ZoLpw_.OrV1LKA9eD6fZDEdNRZdkDYlj4quL eTTyzfzbUboJI9bTTJWDzRN3uCwkujcdSfanQz7YMhvC.SwPHTMGf41xEbog JVse6DrmVNE.QmBAXt99iyUd14TuU9D0lLq0m3qvz545pyiuI7eOdKxbLGyX c22QY42T7S2cGiIm7qu_xK86dlwxwzuMhGwBtXhMmapNoRHG1jERQ2nFjWc0 6Xb5OlUu7w0HtXrCLlS4ICnQgt9DjxsrD8RwM6NkAEeuTZZqLZAj1_pevKBh hyDV5nkGopOK3bvlzNt5_GfqCB5LVigSNpygEdenXhUpl3N_tFG6rCR.P2h3 8vc41rH.uF0lB0KiVAETqhoOHSiRpjB1OkhjFl_pubqM0JQgLSJukm2NEXja 09SlNvMubxGEPTxV6qYPj X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU X-Rocket-Received: from localhost.localdomain (t_arceri@60.240.113.240 with plain [98.138.105.21]) by smtp221.mail.bf1.yahoo.com with SMTP; 14 Jun 2014 12:38:35 +0000 UTC From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sat, 14 Jun 2014 22:38:15 +1000 Message-Id: <1402749495-11964-2-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1402749495-11964-1-git-send-email-t_arceri@yahoo.com.au> References: <1402749361-11643-1-git-send-email-t_arceri@yahoo.com.au> <1402749495-11964-1-git-send-email-t_arceri@yahoo.com.au> Subject: [Piglit] [PATCH V4 11/11] arb_arrays_of_arrays: builtin test X-BeenThere: piglit@lists.freedesktop.org X-Mailman-Version: 2.1.15 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:400c:c01::22e 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 are from the following hardware/driver combinations: AMD Radeon HD 6670 - Catalyst 13.251 OpenGL 4.3 Nvidia GeForce 210 - NVIDIA 331.20 OpenGL 3.3 Intel Ivy Bridge - Mesa 10.1(815e064) with ARB_arrays_of_arrays enabled gl_TexCoord-invalid-multidim.vert AMD: pass Nvida: fail Intel: pass Signed-off-by: Timothy Arceri Reviewed-by: Chris Forbes --- .../compiler/gl_TexCoord-invalid-multidim.vert | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/gl_TexCoord-invalid-multidim.vert diff --git a/tests/spec/arb_arrays_of_arrays/compiler/gl_TexCoord-invalid-multidim.vert b/tests/spec/arb_arrays_of_arrays/compiler/gl_TexCoord-invalid-multidim.vert new file mode 100644 index 0000000..03f4e29 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/gl_TexCoord-invalid-multidim.vert @@ -0,0 +1,17 @@ +/* [config] + * expect_result: fail + * glsl_version: 1.20 + * require_extensions: GL_ARB_arrays_of_arrays + * [end config] + * + * From page 54 (page 60 of the PDF) of the GLSL 1.20 spec: + * + * "The size [of gl_TexCoord] can be at most + * gl_MaxTextureCoords." + */ +#version 120 +#extension GL_ARB_arrays_of_arrays: enable + +varying vec4 gl_TexCoord[gl_MaxTextureCoords][1]; + +void main() { gl_Position = vec4(0.0); }