From patchwork Sat Jun 13 01:30:49 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: 49838 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 711C6211FD for ; Sat, 13 Jun 2015 01:31:07 +0000 (UTC) Received: by lbbtu8 with SMTP id tu8sf863337lbb.3 for ; Fri, 12 Jun 2015 18:31:06 -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=avyXwCk9h9H1zVRwTm0euRIcNOalSVIf9mwIdlPJN70=; b=RtEhn9aY+MBuUAxsvBi+9S91X52VU+2Dz4lJ0ZPRGEdo8/qwMnFlSZwA00VwJpBfwr eyI7nIfYsFe0oz9gAIb6WAeLnwHfDBlUtMrwEtNkaRk7Ds1qW699r9+S6byCYVwMoOE2 dXPYsxi+zFR0VrJ+BFInWGmOVVlnf8dfUzvHEcSrI6y91jxM69qMWmJzNXUutb3Gpk9+ OO3AtidmA9OSydrQtwf+ikovgYXZQYcFphxz1G0O/jxoGY3n+2b0kch6XHzluqcxTjzy XhAORszJbZcgxsut6J75Sez/GuQlVOf5AmG7uQRrs+svNH45NuIF3lzHOlayGEjkjJFZ bnGA== X-Gm-Message-State: ALoCoQlG/KaEtwDA7RcWDWVSJVuaZ5PE2qA8FIn6lw8p02+AMX3OE+N6bFqvLJgzyipJiQfz610v X-Received: by 10.112.148.101 with SMTP id tr5mr17300603lbb.13.1434159066371; Fri, 12 Jun 2015 18:31:06 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.166 with SMTP id d6ls673767lag.54.gmail; Fri, 12 Jun 2015 18:31:06 -0700 (PDT) X-Received: by 10.152.88.99 with SMTP id bf3mr17229687lab.97.1434159066253; Fri, 12 Jun 2015 18:31:06 -0700 (PDT) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com. [2a00:1450:4010:c04::235]) by mx.google.com with ESMTPS id q2si4732914laq.102.2015.06.12.18.31.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jun 2015 18:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::235 as permitted sender) client-ip=2a00:1450:4010:c04::235; Received: by lbbtu8 with SMTP id tu8so27355313lbb.2 for ; Fri, 12 Jun 2015 18:31:06 -0700 (PDT) X-Received: by 10.112.41.196 with SMTP id h4mr17583667lbl.36.1434159065963; Fri, 12 Jun 2015 18:31:05 -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.108.230 with SMTP id hn6csp7535lbb; Fri, 12 Jun 2015 18:31:04 -0700 (PDT) X-Received: by 10.70.130.168 with SMTP id of8mr27751893pdb.131.1434159063924; Fri, 12 Jun 2015 18:31:03 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id on7si7411821pdb.188.2015.06.12.18.31.03; Fri, 12 Jun 2015 18:31:03 -0700 (PDT) Received-SPF: pass (google.com: domain of piglit-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D08D86EB5F; Fri, 12 Jun 2015 18:31:02 -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 096216EB5F for ; Fri, 12 Jun 2015 18:31:00 -0700 (PDT) Received: from [216.39.60.182] by nm9.bullet.mail.gq1.yahoo.com with NNFMP; 13 Jun 2015 01:30:59 -0000 Received: from [208.71.42.209] by tm18.bullet.mail.gq1.yahoo.com with NNFMP; 13 Jun 2015 01:30:59 -0000 Received: from [127.0.0.1] by smtp220.mail.gq1.yahoo.com with NNFMP; 13 Jun 2015 01:30:59 -0000 X-Yahoo-Newman-Id: 716107.69409.bm@smtp220.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: H.Mb7EEVM1kUO29ULNpNnIgxetIbP1Nf.bXPe50HZ0baoaG _pk85Q6ezVRzJQb2nxNlrpqGRXyGWqg_PXfFtk0H9IJy69faUFw0RDRy53Wg XoEzqbJ0tpdCwxvL1asN0.CIDWNZhv.A2uGm7VIuzpTF6upkvDoMqoeoRqu. hFmhCKlHGKBFVT3F_JQa.OdbE0CiLY.jJjIqo0DkX8Id__FzcpmSI2khTNXf xemrR5jC.nvSQepWh9NCW__vRpyLdGcDLkak_QXGxABqG4AsRZxdGESfJUyq W2bxwqNMmYSa4eB8mufBfjbFERhGgRfnpb2STEtp1boFnMLfwc75l_dWJDcc sif_g2yF0_kGPnnxpGThmscW2cSqZU640JdEeM3fQmgkDCFBTNZtLT1Q2ZYO gMU5uEbumXR6dya9SEETUJUJ9PWtlX.PuuRb.iocPnnxxyGwsMVM47WySiLs oJ_TnWNclXVDm2V1Yh4vI8VE1UdzHVwWTbfE3gfMRzp9qEAxLZhV_srqH.JH VqcdPN13eiDhlH0eimg9Gu70wfTCK_qPotzM- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sat, 13 Jun 2015 11:30:49 +1000 Message-Id: <1434159049-9673-1-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 Subject: [Piglit] [PATCH] ext_transform_feedback: dont run gles tests where restrictions apply 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::235 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@yahoo.com.au; 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 In GLES vertex shader outputs cant be arrays of structs or structs that contain arrays or structs. The GLSL ES 3.0 spec says: "Vertex output variables output per-vertex data and are declared using the out storage qualifier or the centroid out storage qualifier. They can only be float, floating-point vectors, matrices, signed or unsigned integers or integer vectors, or arrays or structures of any these." The GLSL ES 3.1 is a bit clearer about this: It is a compile-time error to declare a vertex shader output with, or that contains, any of the following types: * A boolean type * An opaque type * An array of arrays * An array of structures * A structure containing an array * A structure containing a structure --- tests/all.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/all.py b/tests/all.py index 49e96ab..8e8ea97 100755 --- a/tests/all.py +++ b/tests/all.py @@ -3288,10 +3288,15 @@ with profile.group_manager( for api_suffix, possible_options in [('', [[], ['interface']]), ('_gles3', [[]])]: - for subtest in ['basic-struct', 'struct-whole-array', - 'struct-array-elem', 'array-struct', - 'array-struct-whole-array', 'array-struct-array-elem', - 'struct-struct', 'array-struct-array-struct']: + if api_suffix == '_gles3': + subtest_list = ['basic-struct'] + else: + subtest_list = ['basic-struct', 'struct-whole-array', + 'struct-array-elem', 'array-struct', + 'array-struct-whole-array', + 'array-struct-array-elem', 'struct-struct', + 'array-struct-array-struct'] + for subtest in subtest_list: for mode in ['error', 'get', 'run', 'run-no-fs']: for options in possible_options: g(['ext_transform_feedback-structs{0}'.format(api_suffix),