mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
zink: correct PIPE_SHADER_CAP_MAX_SHADER_IMAGES
We don't support shader-images yet, so this is premature to expose. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5024>
This commit is contained in:
parent
50ebe5a991
commit
ed95f69dd5
1 changed files with 4 additions and 0 deletions
|
|
@ -449,8 +449,12 @@ zink_get_shader_param(struct pipe_screen *pscreen,
|
|||
return (1 << PIPE_SHADER_IR_NIR) | (1 << PIPE_SHADER_IR_TGSI);
|
||||
|
||||
case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
|
||||
#if 0 /* TODO: needs compiler support */
|
||||
return MIN2(screen->props.limits.maxPerStageDescriptorStorageImages,
|
||||
PIPE_MAX_SHADER_IMAGES);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD:
|
||||
case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue