diff options
author | Marek Olšák <[email protected]> | 2014-08-09 22:23:23 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-08-09 23:41:16 +0200 |
commit | 3d06952d9e703e70d3f66e8a14a999b751a52a1b (patch) | |
tree | e459e9a1953411874ba84ed2b82d3b1bbf8a95ab /src/gallium | |
parent | 955505f6ff1c8bba7eb142200d3bd065eb4d2297 (diff) |
r300g: handle new shader caps
Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index a2ac26ad79c..1c5f43f4dc0 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -261,6 +261,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_DOUBLES: return 0; case PIPE_SHADER_CAP_PREFERRED_IR: return PIPE_SHADER_IR_TGSI; @@ -312,6 +313,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e case PIPE_SHADER_CAP_INTEGERS: case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS: + case PIPE_SHADER_CAP_DOUBLES: return 0; case PIPE_SHADER_CAP_PREFERRED_IR: return PIPE_SHADER_IR_TGSI; |