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

index c6bd62df1db160737d82f18a8d9c57ebe86bc603..51eab3a0b039889a61c2463a3b38ef6849d3cdfe 100644 (file)
@@ -171,6 +171,11 @@ nv50_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
                return NV50_CAP_MAX_PROGRAM_TEMPS;
        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;
        }