mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
swr: Don't report support for shader images.
gallivm has images support, but this driver doesn't. Cc: mesa-stable (for the upcoming shader image leak fix) Acked-by: Jan Zielinski <jan.zielinski@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8530>
This commit is contained in:
parent
fb25ef153a
commit
9445c3d59f
1 changed files with 3 additions and 1 deletions
|
|
@ -349,8 +349,10 @@ swr_get_shader_param(struct pipe_screen *screen,
|
|||
shader != PIPE_SHADER_TESS_EVAL)
|
||||
return 0;
|
||||
|
||||
if (param == PIPE_SHADER_CAP_MAX_SHADER_BUFFERS)
|
||||
if (param == PIPE_SHADER_CAP_MAX_SHADER_BUFFERS ||
|
||||
param == PIPE_SHADER_CAP_MAX_SHADER_IMAGES) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return gallivm_get_shader_param(param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue