From patchwork Wed Apr 1 05:01:26 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: 46608 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1FF642159A for ; Wed, 1 Apr 2015 05:02:02 +0000 (UTC) Received: by wixm2 with SMTP id m2sf8682436wix.0 for ; Tue, 31 Mar 2015 22:02: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: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=biLu7uNpEiwrX+6p4SGP4HXBsuOW4Xfp/ES+F2nasVs=; b=CitiwcZDnMdOtBzFYcQjdeL3rNokegb4aG/8JnObD2bTvtdFIGk+uD+zaSJ7qM9JqP ByzqA09o6bWzJTyZyzNrUj9N7MGBn+UgQbhohuSRv7usgHYZDOlcCeb2NPmCjmFXWIup t+2zGGflyUOpO3S0xJWlIPOww5ybpzV2W+RsEsUc5CeuRw+e6DaFlEH0yUI7nbR98coq zbRPriGdQefxiX/yC/7Wl9hQMma3yiipRce2J7dA25WQrFNQaBfSCOcBCmaQlacZ6zT3 9Z6xlZl476dN3CiZNfPm9G5eD/FdEqD6wAdEnpTJDT0ieIsVhQGre3ctL6f5tMQtLxBh o30Q== X-Gm-Message-State: ALoCoQkkSBKWOap3PumF+FC05zEsYS9ea3wu0+CJbInog/Tl+sMBY4OkVFCEH/obk4ZqfYSf22ec X-Received: by 10.194.95.67 with SMTP id di3mr10496371wjb.0.1427864521249; Tue, 31 Mar 2015 22:02:01 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.2 with SMTP id x2ls21313lag.99.gmail; Tue, 31 Mar 2015 22:02:00 -0700 (PDT) X-Received: by 10.152.25.132 with SMTP id c4mr33764643lag.4.1427864520822; Tue, 31 Mar 2015 22:02:00 -0700 (PDT) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com. [2a00:1450:4010:c04::22f]) by mx.google.com with ESMTPS id v7si572481lbw.153.2015.03.31.22.02.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 22:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22f as permitted sender) client-ip=2a00:1450:4010:c04::22f; Received: by lboc7 with SMTP id c7so27700483lbo.1 for ; Tue, 31 Mar 2015 22:02:00 -0700 (PDT) X-Received: by 10.112.162.167 with SMTP id yb7mr33153465lbb.76.1427864520336; Tue, 31 Mar 2015 22:02: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.57.201 with SMTP id k9csp419796lbq; Tue, 31 Mar 2015 22:01:59 -0700 (PDT) X-Received: by 10.70.94.34 with SMTP id cz2mr17391876pdb.102.1427864518476; Tue, 31 Mar 2015 22:01:58 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id qp10si1107931pbc.10.2015.03.31.22.01.57; Tue, 31 Mar 2015 22:01:58 -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 47CDE6E7CC; Tue, 31 Mar 2015 22:01:57 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm14-vm5.bullet.mail.gq1.yahoo.com (nm14-vm5.bullet.mail.gq1.yahoo.com [98.136.218.77]) by gabe.freedesktop.org (Postfix) with ESMTP id 0502C6E7CC for ; Tue, 31 Mar 2015 22:01:55 -0700 (PDT) Received: from [98.137.12.56] by nm14.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 05:01:54 -0000 Received: from [208.71.42.206] by tm1.bullet.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 05:01:54 -0000 Received: from [127.0.0.1] by smtp217.mail.gq1.yahoo.com with NNFMP; 01 Apr 2015 05:01:54 -0000 X-Yahoo-Newman-Id: 407412.40147.bm@smtp217.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: .hsxMSgVM1mhU4QGdUUpIo6DfQmEBBZLEVazwGHImUpz7Wy TV4wSIwrg0ggALWtjklijVahwYMHJT0QSHI6x4NePqf2NS8fcfVGC.WOqrsg 5YKzzVs2xOkwWEYxdrFHm4GocJ_Z4UZ4ebLBOKdqlPbhxJ5wSBvXW_VDX5ms TKLJQOGcDTl50d6dkskUlSLKTDiAeyJ88Tr1sCuusukMacGVZQuKhmYrhYlQ YBRb0CwYJDYzyirKiGpi6rxiSf2coR788SJAPuuYwrHAZdF.F_UhpcRobr__ 8dXfVIoo7qDGbk.SZ81.UaD4TE_yAyZDWjhpVdvODYmaxp.TFtoXOzU9z.lJ acWG7cl5SeEbKk8.bWXzlX1kfscNNYMUbN39gw6hVtCf5nk8hsgusziFEkYH QNeUBbli179zGsBBDO.4D1gvpm5JPwTLAyWDixedUqHMyBrRkdmbckHQ0RTu j.PKw5HuxWgfLvuXT7mw3wB1CJ60.PFGyE_Ceiiq2LAsFdjmEEnPY2AO3jBl WS9Xu_9hibIIro.9_GiXBly7sL.w4RklN7dg- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Wed, 1 Apr 2015 16:01:26 +1100 Message-Id: <1427864487-10053-1-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 Subject: [Piglit] [PATCH 1/2] arb_arrays_of_arrays: change input compile tests to fragment shaders 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::22f 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 Although the existing tests are valid until link time, it doesn't make much sense to test this way. --- .../compiler/input-array-array-var.frag | 15 +++++++++++++++ .../compiler/input-array-array-var.vert | 15 --------------- .../compiler/input-array-var-array.frag | 15 +++++++++++++++ .../compiler/input-array-var-array.vert | 15 --------------- .../compiler/input-var-array-array.frag | 15 +++++++++++++++ .../compiler/input-var-array-array.vert | 15 --------------- 6 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag delete mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag delete mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag delete mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag b/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag new file mode 100644 index 0000000..45313ee --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag @@ -0,0 +1,15 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.50 + * require_extensions: GL_ARB_arrays_of_arrays + * [end config] + */ +#version 150 +#extension GL_ARB_arrays_of_arrays: enable + +in vec4[3][1] an_array; + +void main() +{ + gl_FragColor = an_array[0][0]; +} diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert b/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert deleted file mode 100644 index cd945bf..0000000 --- a/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert +++ /dev/null @@ -1,15 +0,0 @@ -/* [config] - * expect_result: pass - * glsl_version: 1.50 - * require_extensions: GL_ARB_arrays_of_arrays - * [end config] - */ -#version 150 -#extension GL_ARB_arrays_of_arrays: enable - -in vec4[3][1] an_array; - -void main() -{ - gl_Position = an_array[0][0]; -} diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag b/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag new file mode 100644 index 0000000..ea0ce56 --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag @@ -0,0 +1,15 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.50 + * require_extensions: GL_ARB_arrays_of_arrays + * [end config] + */ +#version 150 +#extension GL_ARB_arrays_of_arrays: enable + +in vec4[1] an_array[3]; + +void main() +{ + gl_FragColor = an_array[0][0]; +} diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert b/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert deleted file mode 100644 index 1f234aa..0000000 --- a/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert +++ /dev/null @@ -1,15 +0,0 @@ -/* [config] - * expect_result: pass - * glsl_version: 1.50 - * require_extensions: GL_ARB_arrays_of_arrays - * [end config] - */ -#version 150 -#extension GL_ARB_arrays_of_arrays: enable - -in vec4[1] an_array[3]; - -void main() -{ - gl_Position = an_array[0][0]; -} diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag b/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag new file mode 100644 index 0000000..acd407a --- /dev/null +++ b/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag @@ -0,0 +1,15 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.50 + * require_extensions: GL_ARB_arrays_of_arrays + * [end config] + */ +#version 150 +#extension GL_ARB_arrays_of_arrays: enable + +in vec4 an_array[3][1]; + +void main() +{ + gl_FragColor = an_array[0][0]; +} diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert b/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert deleted file mode 100644 index 0f1e85d..0000000 --- a/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert +++ /dev/null @@ -1,15 +0,0 @@ -/* [config] - * expect_result: pass - * glsl_version: 1.50 - * require_extensions: GL_ARB_arrays_of_arrays - * [end config] - */ -#version 150 -#extension GL_ARB_arrays_of_arrays: enable - -in vec4 an_array[3][1]; - -void main() -{ - gl_Position = an_array[0][0]; -}