r600g: handle PIPE_SHADER_CAP_OUTPUT_READ
authorVadim Girlin <vadimgirlin@gmail.com>
Tue, 15 Nov 2011 15:57:22 +0000 (19:57 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Nov 2011 22:38:38 +0000 (17:38 -0500)
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_pipe.c

index 243de140789af620427e5177c1042d8eea74bcb6..3c190347d45aa0513b7700b25a452f78b93d276d 100644 (file)
@@ -513,6 +513,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
                return 0;
        case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
                return 16;
+       case PIPE_SHADER_CAP_OUTPUT_READ:
+               return 1;
        default:
                return 0;
        }