diff options
author | Marek Olšák <[email protected]> | 2012-10-26 17:35:32 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-26 18:01:14 +0200 |
commit | 8b63512be0c81c30e8eb31726a15777cfe869343 (patch) | |
tree | 94d385f36b1fe6a9ea9ef17ceb6c1f26e6bdf9d3 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 8eb2b331ef74dc06f8e54042529d10dc4a10216f (diff) |
r600g: advertise 32 fragment shaders inputs, not 34
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 545441482de..1991bf2757e 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -521,10 +521,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH: return 8; /* XXX */ case PIPE_SHADER_CAP_MAX_INPUTS: - if(shader == PIPE_SHADER_FRAGMENT) - return 34; - else - return 32; + return 32; case PIPE_SHADER_CAP_MAX_TEMPS: return 256; /* Max native temporaries. */ case PIPE_SHADER_CAP_MAX_ADDRS: |