[Piglit] [PATCH] OES_standad_derivatives: Add missing fragment shader float precision qualifier

Ian Romanick idr at freedesktop.org
Tue Aug 13 17:36:08 PDT 2013


From: Ian Romanick <ian.d.romanick at intel.com>

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
This should be the last of them!

 tests/spec/oes_standard_derivatives/compiler/dFdx-float.frag   | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdx-vec2.frag    | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdx-vec3.frag    | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdx-vec4.frag    | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdy-float.frag   | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag    | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdy-vec3.frag    | 1 +
 tests/spec/oes_standard_derivatives/compiler/dFdy-vec4.frag    | 1 +
 tests/spec/oes_standard_derivatives/compiler/fwidth-float.frag | 1 +
 tests/spec/oes_standard_derivatives/compiler/fwidth-vec2.frag  | 1 +
 tests/spec/oes_standard_derivatives/compiler/fwidth-vec3.frag  | 1 +
 tests/spec/oes_standard_derivatives/compiler/fwidth-vec4.frag  | 1 +
 12 files changed, 12 insertions(+)

diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdx-float.frag b/tests/spec/oes_standard_derivatives/compiler/dFdx-float.frag
index ce8adab..eca591d 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdx-float.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdx-float.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying float x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdx-vec2.frag b/tests/spec/oes_standard_derivatives/compiler/dFdx-vec2.frag
index 17b0cce..650fcd3 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdx-vec2.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdx-vec2.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec2 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdx-vec3.frag b/tests/spec/oes_standard_derivatives/compiler/dFdx-vec3.frag
index db99ed7..126821c 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdx-vec3.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdx-vec3.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec3 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdx-vec4.frag b/tests/spec/oes_standard_derivatives/compiler/dFdx-vec4.frag
index 5bd0f27..fed62e0 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdx-vec4.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdx-vec4.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec4 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdy-float.frag b/tests/spec/oes_standard_derivatives/compiler/dFdy-float.frag
index da058aa..47d855e 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdy-float.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdy-float.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying float x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag
index 9e0bc71..3ac7596 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec2.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec2 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec3.frag b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec3.frag
index 9062cd5..113c5eb 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec3.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec3.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec3 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec4.frag b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec4.frag
index 4648b88..ecd528c 100644
--- a/tests/spec/oes_standard_derivatives/compiler/dFdy-vec4.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/dFdy-vec4.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec4 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/fwidth-float.frag b/tests/spec/oes_standard_derivatives/compiler/fwidth-float.frag
index 94f5505..2d56487 100644
--- a/tests/spec/oes_standard_derivatives/compiler/fwidth-float.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/fwidth-float.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying float x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/fwidth-vec2.frag b/tests/spec/oes_standard_derivatives/compiler/fwidth-vec2.frag
index 99ca181..7dd96f3 100644
--- a/tests/spec/oes_standard_derivatives/compiler/fwidth-vec2.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/fwidth-vec2.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec2 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/fwidth-vec3.frag b/tests/spec/oes_standard_derivatives/compiler/fwidth-vec3.frag
index 307e73d..215f3cf 100644
--- a/tests/spec/oes_standard_derivatives/compiler/fwidth-vec3.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/fwidth-vec3.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec3 x;
 void main()
diff --git a/tests/spec/oes_standard_derivatives/compiler/fwidth-vec4.frag b/tests/spec/oes_standard_derivatives/compiler/fwidth-vec4.frag
index 12fe971..1e19614 100644
--- a/tests/spec/oes_standard_derivatives/compiler/fwidth-vec4.frag
+++ b/tests/spec/oes_standard_derivatives/compiler/fwidth-vec4.frag
@@ -6,6 +6,7 @@
  */
 #version 100
 #extension GL_OES_standard_derivatives: require
+precision mediump float;
 
 varying vec4 x;
 void main()
-- 
1.8.1.4



More information about the Piglit mailing list