mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
freedreno: only support SSBOs with nir
tgsi_to_nir does not support them. Note that compute shaders already force nir. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
444b4b40f9
commit
0c2e0f15b8
1 changed files with 3 additions and 0 deletions
|
|
@ -568,6 +568,9 @@ fd_screen_get_shader_param(struct pipe_screen *pscreen,
|
|||
switch(shader)
|
||||
{
|
||||
case PIPE_SHADER_FRAGMENT:
|
||||
if (!(fd_mesa_debug & FD_DBG_NIR))
|
||||
return 0;
|
||||
/* fallthrough */
|
||||
case PIPE_SHADER_COMPUTE:
|
||||
return 24;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue