r600g: fill out CAPs for indirect addressing
authorMarek Olšák <maraeo@gmail.com>
Fri, 12 Nov 2010 02:07:05 +0000 (03:07 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 12 Nov 2010 02:13:23 +0000 (03:13 +0100)
src/gallium/drivers/r600/r600_pipe.c

index 8bc545d4175d2b469af8fdb9f7a42105d4800966..2a113f0ea8dc760c3c869ecdc00939a889942824 100644 (file)
@@ -370,6 +370,11 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
                return 0; /* FIXME */
        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:
                return 0;
        }