[Piglit] [PATCH] Expect ARB_texture_cube_map_array/compiler/tex_bias-01.vert to fail.

Kenneth Graunke kenneth at whitecape.org
Fri Jun 28 14:18:32 PDT 2013


Bias makes no sense in a vertex shader, as there's no implicitly
computed LOD to add a bias to.  According to the GLSL 4.30 spec, "In all
functions below, the bias parameter is optional for fragment shaders.
The bias parameter is not accepted in any other shader."  1.30 has
similar text disallowing bias in vertex shaders.
---
 tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert b/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
index 90e0146..48576ee 100644
--- a/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
+++ b/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
@@ -1,5 +1,5 @@
 /* [config]
- * expect_result: pass
+ * expect_result: fail
  * glsl_version: 1.30
  * require_extensions: GL_ARB_texture_cube_map_array
  * [end config]
-- 
1.8.3.1



More information about the Piglit mailing list