From patchwork Sat Mar 14 03:45:15 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: 45808 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 346C5214BF for ; Sat, 14 Mar 2015 03:46:02 +0000 (UTC) Received: by wevk48 with SMTP id k48sf19451164wev.0 for ; Fri, 13 Mar 2015 20:46:01 -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=Vbcsjmhhn2fziFmqT1BkQGKBOLGjr37JEJNeRLS34NY=; b=Ooe9qhMRYDQ4vLnkKq3+xHYtGxpynZIXJT6EH4nICPRr35Z61517R+PzikgKus6lLR ZOzHvB0xOhaGd6eSMWkelBaROR3wATxayligDq8wRejUX+vC4JC7Ao6UiO1VreC2Lwg8 /kNlIHHZRDjlNlMVSeDXbimkclETGIizGLawFBq491nutHCDuil6UxptJRsJnkuNdbJ7 6hkirJNGW05oWGoLqmlqwrtk5Y7Dm+P/7GRDXCDrkgu+UvVjDpmlY2uLj0zImftH4whf BCG4Sa7zntdxNDueEYzzL2n2rUIeZ5OAVA9VjqPjkjNT1STb9BWjwqFNgNu9cj5285JD i6Rw== X-Gm-Message-State: ALoCoQlfzhT9NVkH/VVYKdfxOPjoB0voTxnqBtlwKQXp65x1PGzxng6+J+xXDEsMOn9ufcjKlmSr X-Received: by 10.180.77.165 with SMTP id t5mr4812533wiw.0.1426304761532; Fri, 13 Mar 2015 20:46:01 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.48 with SMTP id t16ls450520lal.55.gmail; Fri, 13 Mar 2015 20:46:01 -0700 (PDT) X-Received: by 10.152.7.212 with SMTP id l20mr34431405laa.68.1426304761402; Fri, 13 Mar 2015 20:46:01 -0700 (PDT) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com. [2a00:1450:4010:c04::234]) by mx.google.com with ESMTPS id u10si2703016lal.30.2015.03.13.20.46.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 20:46:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::234 as permitted sender) client-ip=2a00:1450:4010:c04::234; Received: by lbbsy1 with SMTP id sy1so1691979lbb.1 for ; Fri, 13 Mar 2015 20:46:01 -0700 (PDT) X-Received: by 10.112.181.41 with SMTP id dt9mr47127873lbc.56.1426304760976; Fri, 13 Mar 2015 20:46: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.35.133 with SMTP id h5csp1305089lbj; Fri, 13 Mar 2015 20:46:00 -0700 (PDT) X-Received: by 10.66.181.144 with SMTP id dw16mr111913828pac.100.1426304759274; Fri, 13 Mar 2015 20:45:59 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id pc2si7492119pac.137.2015.03.13.20.45.58; Fri, 13 Mar 2015 20:45:59 -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 2DDD26E0E4; Fri, 13 Mar 2015 20:45:58 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm9-vm1.bullet.mail.gq1.yahoo.com (nm9-vm1.bullet.mail.gq1.yahoo.com [98.136.218.240]) by gabe.freedesktop.org (Postfix) with ESMTP id A3D3B6E0E4 for ; Fri, 13 Mar 2015 20:45:56 -0700 (PDT) Received: from [98.137.12.55] by nm9.bullet.mail.gq1.yahoo.com with NNFMP; 14 Mar 2015 03:45:56 -0000 Received: from [208.71.42.203] by tm15.bullet.mail.gq1.yahoo.com with NNFMP; 14 Mar 2015 03:45:56 -0000 Received: from [127.0.0.1] by smtp214.mail.gq1.yahoo.com with NNFMP; 14 Mar 2015 03:45:56 -0000 X-Yahoo-Newman-Id: 7539.31387.bm@smtp214.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: oakdZnoVM1l8WneBS77CaQh7OLpVppnBI0cCbVyEDp.hzCI kSV0ccyHYOVYirKQV5Pf6j949GJeroZK_ptn4kUu5FCqI8QWwVhmprff4lls junl7kcymesQk49_IVkzRN989SprWNRIHGUBo3G8P8erCxqRqMDGrylZg72L mQ4Y7ews2qQcFW9QE6yz7hnPCpRGyPHB5d18489hnCHoeF87it_h21LO.jDY qGREDrLO8L0wNMlxZNPtIk6Z0u7izt8UhhI_WxEZEIFuJYJ28xloKl_r4b6x 14rpVK_478_a88TpTlpwvX0Y3sDTQ87lwExqsvgBkARpCaNl2hNy8YIEjITC 8bKKqYnwyeB3zFAeSQReXAI7uWNlCEGBb8qzEog.YXrvIT6l695kf9ftvJ2_ kmjCdi62vQvIGVifxU5GVTrHe7a0Lshe0sf9hG1jZWTxpsAfBTeZohCuYD.z 2HFSRL.OC_y8.jPHNo7S.0Q3iy.AoUGt9O0cWzPbhXh0bQElawt2qQxphGm. qWC7ibJbRZCmPQKsYJRJxBDa6QHwCGqN9Z_8- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sat, 14 Mar 2015 14:45:15 +1100 Message-Id: <1426304715-26486-2-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426304715-26486-1-git-send-email-t_arceri@yahoo.com.au> References: <1426304715-26486-1-git-send-email-t_arceri@yahoo.com.au> Subject: [Piglit] [PATCH 2/2] arb_arrays_of_arrays: fix output size 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::234 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 Fix array sizes so that the arrays are not larger than the minimum implementation requirement of GL_MAX_VERTEX_ATTRIBS. Also assign something to the output so that its marked as used. The minumum for GL_MAX_VERTEX_ATTRIBS is 64. --- .../spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test b/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test index 5cd3be0..ad89177 100644 --- a/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test +++ b/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test @@ -10,10 +10,11 @@ GL_ARB_arrays_of_arrays out ArraysOfArraysBlock { vec4 a; -} i[4][5]; +} i[2][5]; void main() { + i[1][1].a = vec4(1.0); gl_Position = vec4(1.0); } @@ -23,7 +24,7 @@ void main() in ArraysOfArraysBlock { vec4 a; -} i[4][5]; +} i[2][5]; void main() {