From patchwork Sun Mar 29 11:01: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: 46461 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ACCDB2159F for ; Sun, 29 Mar 2015 11:01:26 +0000 (UTC) Received: by wgtj4 with SMTP id j4sf5000321wgt.0 for ; Sun, 29 Mar 2015 04:01:26 -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=BzZER9LI+Mv4k2FiRsqquVHcbDCpsQdBO3pHA3NZBay3K9sRW8f1vVRNPGEp7y3xCZ aEwvmRq+LX4pTspE9K15GptbC2FC9C/qqyUy4M1xr9yO5kdFHSL3vt+fZOnt4L7PVkcW hJVsWofDg+JQQiuEfu7Sgwn0N4U8GyhoSKt/nR+WDGqD2yIy7TRARySesSP/WREL86GI Fwsyjg6TWa4rSL5oWGktxiswxHY//s5ijT6Snwm/9cOqd2WDVqnNtOfPHZnUJOBAjmWy dcodWvGGq8eveMd5yqBIVyulWkuq/wUfkbYo5KrecPsL+oL27SfBLZv/iGgKg1/jRf9V U+dQ== X-Gm-Message-State: ALoCoQlwAo/Q991OWeBxFt8ZDwkKXyU+mNL3k+RWsfzs+Po/vwW/o0LsiZ8s7YC+LMjsJEjNwKQr X-Received: by 10.112.17.105 with SMTP id n9mr6564295lbd.8.1427626885556; Sun, 29 Mar 2015 04:01:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.101 with SMTP id z5ls550250laz.12.gmail; Sun, 29 Mar 2015 04:01:25 -0700 (PDT) X-Received: by 10.152.116.11 with SMTP id js11mr24752512lab.106.1427626885377; Sun, 29 Mar 2015 04:01:25 -0700 (PDT) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com. [2a00:1450:4010:c03::236]) by mx.google.com with ESMTPS id uj1si5151310lbb.22.2015.03.29.04.01.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Mar 2015 04:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::236 as permitted sender) client-ip=2a00:1450:4010:c03::236; Received: by lahp7 with SMTP id p7so79760715lah.2 for ; Sun, 29 Mar 2015 04:01:25 -0700 (PDT) X-Received: by 10.152.19.199 with SMTP id h7mr25400936lae.32.1427626885268; Sun, 29 Mar 2015 04:01:25 -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 k9csp846706lbq; Sun, 29 Mar 2015 04:01:23 -0700 (PDT) X-Received: by 10.70.136.202 with SMTP id qc10mr49158557pdb.117.1427626881902; Sun, 29 Mar 2015 04:01:21 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id bk4si10402070pbc.166.2015.03.29.04.01.21; Sun, 29 Mar 2015 04:01:21 -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 D41AB6E1E2; Sun, 29 Mar 2015 04:01:20 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm25-vm2.bullet.mail.gq1.yahoo.com (nm25-vm2.bullet.mail.gq1.yahoo.com [98.136.217.113]) by gabe.freedesktop.org (Postfix) with ESMTP id D04A16E1E2 for ; Sun, 29 Mar 2015 04:01:19 -0700 (PDT) Received: from [98.137.12.175] by nm25.bullet.mail.gq1.yahoo.com with NNFMP; 29 Mar 2015 11:01:19 -0000 Received: from [208.71.42.211] by tm14.bullet.mail.gq1.yahoo.com with NNFMP; 29 Mar 2015 11:01:19 -0000 Received: from [127.0.0.1] by smtp222.mail.gq1.yahoo.com with NNFMP; 29 Mar 2015 11:01:19 -0000 X-Yahoo-Newman-Id: 519924.38522.bm@smtp222.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _h9pumsVM1nZcfT9lkDn.4T_nvIANrZpLGuWL4PyxbnDgUd 44zZgL97Tdnq0Q1ZMX98rbPPjVlCd4yBJiLyRC4GtnM3elDc_MnnkYlOvo.M MkTc.YP8RKar2nxO_n1PQLrH8llbuuN28wwkV1YhX23ndY05RGMGldYf0pMF orz28k.HPhx10_Sqf0fHasNgCqQACrr0nKipzdkChubjyWds44vUdQG5bwVs RT_EXYrt3JDplJslWsooztoCpdnWOdIlxJ62VEmCz4jZB7v4MZ.2VKTHUqjI 9A8CSeBqv1YWNKv8shQZkB.XnGaoLywRvJNs9qZYLM2wTwurZ1brXuOJVJjb EXcum.vZ3JstPy28vM7gTvxsAFu0a2wt2UxuSqtG2h_nNcrQh.FLdD9vVqz9 xeG730iWfBeTkQi5ZO1vXlW6PfLYdeFknSUoeHV8MFGnCvH1xtN6mHvgAk69 bc3_nH_6MErKAQahHogpugMJcq3UuOEMqmccB30nZzdLEh69sjZhFcRhisNM 729JI4UgtgzDxGMLEFpRH9vZvl9FCpw3ynGw- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sun, 29 Mar 2015 22:01:01 +1100 Message-Id: <1427626861-32553-2-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1427626861-32553-1-git-send-email-t_arceri@yahoo.com.au> References: <1427626861-32553-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:c03::236 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() {