summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-04-03 19:26:54 +0200
committerMarek Olšák <maraeo@gmail.com>2011-04-03 19:35:43 +0200
commitf814dd7a8171d9a3c413c3813d2d91d655535041 (patch)
tree7d7cdd76b0c1c472bb78e8022883e2deab1b343b /src/gallium/drivers/r300/r300_screen.c
parent652bf121f2124ec92b74f6e3e40e6aefcc1c50dc (diff)
downloadexternal_mesa3d-f814dd7a8171d9a3c413c3813d2d91d655535041.zip
external_mesa3d-f814dd7a8171d9a3c413c3813d2d91d655535041.tar.gz
external_mesa3d-f814dd7a8171d9a3c413c3813d2d91d655535041.tar.bz2
r300g: tell the GLSL compiler to lower the continue opcode
NOTE: This is a candidate for the stable branches.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index f09c9c0..07d854d 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -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: