r300g: tell the GLSL compiler to lower the continue opcode
authorMarek Olšák <maraeo@gmail.com>
Sun, 3 Apr 2011 17:26:54 +0000 (19:26 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 3 Apr 2011 17:35:43 +0000 (19:35 +0200)
NOTE: This is a candidate for the stable branches.

src/gallium/drivers/r300/r300_screen.c

index f09c9c029723bd0eece0a9351a890399e7ff0990..07d854d633caaba3b96c885a9efe86e1c93cd58f 100644 (file)
@@ -212,7 +212,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
         case PIPE_SHADER_CAP_MAX_PREDS:
             return is_r500 ? 1 : 0;
         case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
-            return 1;
+            return 0;
         case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
         case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
         case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
@@ -250,7 +250,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
         case PIPE_SHADER_CAP_MAX_PREDS:
             return is_r500 ? 4 : 0; /* XXX guessed. */
         case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
-            return 1;
+            return 0;
         case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
         case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
         case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR: