radeonsi: Enable PIPE_SHADER_CAP_INTEGERS
authorTom Stellard <thomas.stellard@amd.com>
Wed, 25 Jul 2012 12:22:30 +0000 (08:22 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 27 Jul 2012 17:08:08 +0000 (17:08 +0000)
src/gallium/drivers/radeonsi/radeonsi_pipe.c

index 2558f947f8464ec5a04655adf9c81a75b49fd1d0..874356a8edd5fd524fb23f080f3e4c8d8bcc7b83 100644 (file)
@@ -449,8 +449,9 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
        case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
        case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
        case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
-       case PIPE_SHADER_CAP_INTEGERS:
                return 0;
+       case PIPE_SHADER_CAP_INTEGERS:
+               return 1;
        case PIPE_SHADER_CAP_SUBROUTINES:
                return 0;
        case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: