i965g: fill out CAPs for indirect addressing
authorMarek Olšák <maraeo@gmail.com>
Fri, 12 Nov 2010 02:03:59 +0000 (03:03 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 12 Nov 2010 02:13:22 +0000 (03:13 +0100)
src/gallium/drivers/i965/brw_screen.c

index 864b21fa53c3cab0cdee1c41c3fea240ef3f0c47..57160ebb2973555fcd76a85c5645b04f92d6d380 100644 (file)
@@ -235,6 +235,11 @@ brw_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_shad
          return 0;
       case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
          return 1;
+      case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
+      case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
+      case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
+      case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
+          return 1;
       default:
          assert(0);
          return 0;