From patchwork Sat Jun 20 12:14:30 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: 50124 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 6BA5F21594 for ; Sat, 20 Jun 2015 12:15:05 +0000 (UTC) Received: by wiea6 with SMTP id a6sf49747wie.1 for ; Sat, 20 Jun 2015 05:15:04 -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=zUc6nXNot7bbbn6gSkStCvHPISU8IAVTNk9SgvTGisY=; b=JwCmBHYqVFw9oDMo8IYItvgJ7yi5Hi/7H/9c+x29I/iXUxySdo1fDBNPkCqOAySRrU rKVVmORxN63fYim0yo5Jpb3jB3STF8I6QPCIykSyoMQWZ8qKP/dXdeDBNHfy3fq5/9C+ 69CLQsrQAcbedij7w2pZut4l7WXUfsrtiYfyWSsHfO6eDMGmwLSemupN4p9HmAPRnRpS oZCFz7G/cqBB2Zdd7gOuwQXAxSzVet5/GSC7V0X41Eqv5aY5gmMdCs+TYUw/gyXQH9jO +ruezmgKqH3LXq5ss5gsM8UxO63sI584E5kIOKrDgrAViRz9Bz9oG0dtJ1pzbJkWrhPc OUyw== X-Gm-Message-State: ALoCoQlBD4BWHeQ7yGrSm/Y88c8cZfNcmskJ/ohiZBmG39TOd0LcYjfqTxQZF2X4CfD5M3SeDLSS X-Received: by 10.180.198.172 with SMTP id jd12mr7607435wic.5.1434802504758; Sat, 20 Jun 2015 05:15:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.194 with SMTP id 2ls751436law.0.gmail; Sat, 20 Jun 2015 05:15:04 -0700 (PDT) X-Received: by 10.112.48.68 with SMTP id j4mr21756470lbn.60.1434802504623; Sat, 20 Jun 2015 05:15:04 -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 o8si11650513lal.67.2015.06.20.05.15.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Jun 2015 05:15:04 -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 lbbvz5 with SMTP id vz5so37595623lbb.0 for ; Sat, 20 Jun 2015 05:15:04 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr21716639lbb.29.1434802504141; Sat, 20 Jun 2015 05:15:04 -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 hn6csp1209407lbb; Sat, 20 Jun 2015 05:15:03 -0700 (PDT) X-Received: by 10.68.190.41 with SMTP id gn9mr10763006pbc.113.1434802502470; Sat, 20 Jun 2015 05:15:02 -0700 (PDT) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id lz6si20946061pdb.199.2015.06.20.05.15.01; Sat, 20 Jun 2015 05:15:02 -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 5D5D26E707; Sat, 20 Jun 2015 05:15:01 -0700 (PDT) X-Original-To: piglit@lists.freedesktop.org Delivered-To: piglit@lists.freedesktop.org Received: from nm7-vm2.bullet.mail.gq1.yahoo.com (nm7-vm2.bullet.mail.gq1.yahoo.com [98.136.218.209]) by gabe.freedesktop.org (Postfix) with ESMTP id 31B066E705 for ; Sat, 20 Jun 2015 05:15:00 -0700 (PDT) Received: from [98.137.12.189] by nm7.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jun 2015 12:14:59 -0000 Received: from [208.71.42.199] by tm10.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jun 2015 12:14:59 -0000 Received: from [127.0.0.1] by smtp210.mail.gq1.yahoo.com with NNFMP; 20 Jun 2015 12:14:59 -0000 X-Yahoo-Newman-Id: 884088.61572.bm@smtp210.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6.WOv6EVM1lHyHF7utKXAVJXCpbsEC.ock7QXeKWHENRu8J 5msQboCIP1lowNEzFdV6kldR807d.IH0EciJpwRdXoiWJ6JJ23W0ncQGxyMs 0dz24acfO3pQw9FypO8Hs3bhcbSW79LsExr8s3mdnAf2METEJX_bSR71oD61 zGmPB4eOlJXIe4RrXrQ5VGRGm0YK4afToPYakD_GOqFax3GKjBSs97x2FYpF NpBZysEVKnvbK8ZfhpF1FpZq_xRm426XwNL5IqI5WHr_FHbluxPLWG_Y7rZL UUrXX4e9VaQ7GQOpy1hsBQyadSlucRtOROAfDzumGK86lFb70jn9LYVxzzEc sQQf8Gm0tyW0VLUvvXUKt043L6w3MZhktp6vpQxodPDOW9Xje8T9dHBDU7im Y9Tx4wRMxnipi0p9HIMDzPKRiE4pNyw1nMGDLHaLm2O2POkzL95QxRP2MJ2p 78laU0iYW5sqkZFdJh2U2ozjFops92wywxG2ROnKSMy49hYkdw3I8Xz.UdjF h1FPjOzGkRJzOrr4HvdW8.2EjDofw0rMhpmw- X-Yahoo-SMTP: 9BNlx.aswBAkr0D8mG_whiOP1dyU From: "'Timothy Arceri' via Patchwork Forward" To: piglit@lists.freedesktop.org Date: Sat, 20 Jun 2015 22:14:30 +1000 Message-Id: <1434802475-4020-3-git-send-email-t_arceri@yahoo.com.au> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1434802475-4020-1-git-send-email-t_arceri@yahoo.com.au> References: <1434802475-4020-1-git-send-email-t_arceri@yahoo.com.au> Subject: [Piglit] [PATCH 3/8] glsl-1.30: test precision qualifier with sampler array 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=@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 --- .../qualifiers/sampler-precision-qualifier.frag | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/spec/glsl-1.30/compiler/qualifiers/sampler-precision-qualifier.frag diff --git a/tests/spec/glsl-1.30/compiler/qualifiers/sampler-precision-qualifier.frag b/tests/spec/glsl-1.30/compiler/qualifiers/sampler-precision-qualifier.frag new file mode 100644 index 0000000..21913ca --- /dev/null +++ b/tests/spec/glsl-1.30/compiler/qualifiers/sampler-precision-qualifier.frag @@ -0,0 +1,17 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.30 + * [end config] + * + * Precision qualifiers apply to floating point, integer and sampler + * types. Test to see if and array of samplers correctly compiles. + */ +#version 130 + +uniform lowp sampler2D sampler[1]; +in highp vec2 coord; + +void main() +{ + gl_FragColor = texture2D(sampler[0], coord); +}