mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 19:00:13 +01:00
radeonsi/compute: Default to the same PIPE_SHADER_CAP values as other shader types v2
v2: - Fix typo Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
a714fbacf7
commit
4c53d2acbb
1 changed files with 5 additions and 1 deletions
|
|
@ -398,8 +398,12 @@ static int si_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enu
|
|||
return max_const_buffer_size;
|
||||
}
|
||||
default:
|
||||
return 0;
|
||||
/* If compute shaders don't require a special value
|
||||
* for this cap, we can return the same value we
|
||||
* do for other shader types. */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* TODO: support tessellation */
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue