r300g: handle SHADER_CAP_OUTPUT_READ
authorMarek Olšák <maraeo@gmail.com>
Tue, 22 Nov 2011 19:46:43 +0000 (20:46 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 22 Nov 2011 19:56:51 +0000 (20:56 +0100)
src/gallium/drivers/r300/r300_screen.c

index 426e4d1ab1729a3a4f735a3fc32d8643836686d8..2c95f3f59069aec87a62176659d20a745c8225fb 100644 (file)
@@ -198,6 +198,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
         case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
         case PIPE_SHADER_CAP_SUBROUTINES:
         case PIPE_SHADER_CAP_INTEGERS:
+        case PIPE_SHADER_CAP_OUTPUT_READ:
             return 0;
         case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
            return r300screen->caps.num_tex_units;
@@ -245,6 +246,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
         case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
         case PIPE_SHADER_CAP_SUBROUTINES:
         case PIPE_SHADER_CAP_INTEGERS:
+        case PIPE_SHADER_CAP_OUTPUT_READ:
             return 0;
         }
         break;