mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
r300g/swtcl: don't expose shader subroutine support
RET in the main function doesn't work. This should be fixed in Draw, but meh.
This commit is contained in:
parent
6bede55241
commit
3b8fe06eb6
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
|
|||
switch (param)
|
||||
{
|
||||
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
|
||||
case PIPE_SHADER_CAP_SUBROUTINES:
|
||||
return 0;
|
||||
default:;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue