[Mesa-dev] [PATCH 3/3] r600g: handle PIPE_SHADER_CAP_OUTPUT_READ

Vadim Girlin vadimgirlin at gmail.com
Tue Nov 15 07:57:22 PST 2011


Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---
 src/gallium/drivers/r600/r600_pipe.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 243de14..3c19034 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -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;
 	}
-- 
1.7.7.1



More information about the mesa-dev mailing list