mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
r600g: fix the max vertex shader input limit
This commit is contained in:
parent
cc219d1d65
commit
bb867e2f2f
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
|
|||
case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH:
|
||||
return 32;
|
||||
case PIPE_SHADER_CAP_MAX_INPUTS:
|
||||
return 32;
|
||||
return shader == PIPE_SHADER_VERTEX ? 16 : 32;
|
||||
case PIPE_SHADER_CAP_MAX_TEMPS:
|
||||
return 256; /* Max native temporaries. */
|
||||
case PIPE_SHADER_CAP_MAX_ADDRS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue