[Piglit] [PATCH 1/2] glsl-es-1.00: Add more missing fragment shader float precision qualifiers
Ian Romanick
idr at freedesktop.org
Fri Aug 9 16:33:42 PDT 2013
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: Tom Gall <tom.gall at linaro.org>
---
.../glsl-es-1.00/compiler/arithmetic-operators/division-by-zero-01.frag | 1 +
.../compiler/assignment-operators/assign-array-prohibited.frag | 1 +
.../glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag | 1 +
.../glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag | 1 +
.../glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-01.frag | 1 +
.../glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-02.frag | 1 +
6 files changed, 6 insertions(+)
diff --git a/tests/spec/glsl-es-1.00/compiler/arithmetic-operators/division-by-zero-01.frag b/tests/spec/glsl-es-1.00/compiler/arithmetic-operators/division-by-zero-01.frag
index 33094f7..392e5c8 100644
--- a/tests/spec/glsl-es-1.00/compiler/arithmetic-operators/division-by-zero-01.frag
+++ b/tests/spec/glsl-es-1.00/compiler/arithmetic-operators/division-by-zero-01.frag
@@ -10,6 +10,7 @@
// unspecified value.
#version 100
+precision mediump float;
float
f() {
diff --git a/tests/spec/glsl-es-1.00/compiler/assignment-operators/assign-array-prohibited.frag b/tests/spec/glsl-es-1.00/compiler/assignment-operators/assign-array-prohibited.frag
index d33f053..e4a3242 100644
--- a/tests/spec/glsl-es-1.00/compiler/assignment-operators/assign-array-prohibited.frag
+++ b/tests/spec/glsl-es-1.00/compiler/assignment-operators/assign-array-prohibited.frag
@@ -11,6 +11,7 @@
// target of an assignment.
#version 100
+precision mediump float;
void f(float x[2])
{
diff --git a/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag b/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag
index 497d275..0574a23 100644
--- a/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag
+++ b/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag
@@ -16,6 +16,7 @@
// target of an assignment.
#version 100
+precision mediump float;
void f(inout float x[2])
{
diff --git a/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag b/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag
index 2dd38ab..241fb46 100644
--- a/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag
+++ b/tests/spec/glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag
@@ -16,6 +16,7 @@
// target of an assignment.
#version 100
+precision mediump float;
void f(out float x[2])
{
diff --git a/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-01.frag b/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-01.frag
index f61d29c..4d2839e 100644
--- a/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-01.frag
+++ b/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-01.frag
@@ -7,6 +7,7 @@
// A fragment shader can not write to a varying variable.
#version 100
+precision mediump float;
varying float x;
diff --git a/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-02.frag b/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-02.frag
index e5548c5..9b3273b 100644
--- a/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-02.frag
+++ b/tests/spec/glsl-es-1.00/compiler/storage-qualfiers/static-write-varying-02.frag
@@ -7,6 +7,7 @@
// A fragment shader can not write to a varying variable.
#version 100
+precision mediump float;
varying float x;
--
1.8.1.4
More information about the Piglit
mailing list