[Piglit] [PATCH] glsl switch, signed vs unsigned

Tapani Pälli tapani.palli at intel.com
Fri Jun 6 05:26:35 PDT 2014


Following test checks for compile warning when using different types 
in a switch statement. Currently AST->HIR crashes on this. I've filed 
a bug here:

Conservatively I've put that test should fail but to be honest I'm not 
sure if compilation should fail or pass with a warning.

Tapani Pälli (1):
  glsl-1.30: test unsigned vs signed in switch statement

 .../switch-statement/switch-uint-vs-int.vert        | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 tests/spec/glsl-1.30/compiler/switch-statement/switch-uint-vs-int.vert


More information about the Piglit mailing list