mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
spirv: change the resource/sampler builtins variable mode
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40768>
This commit is contained in:
parent
457eac7d66
commit
7dbef85365
1 changed files with 2 additions and 2 deletions
|
|
@ -1321,11 +1321,11 @@ vtn_get_builtin_location(struct vtn_builder *b,
|
|||
|
||||
case SpvBuiltInSamplerHeapEXT:
|
||||
*location = SYSTEM_VALUE_SAMPLER_HEAP_PTR;
|
||||
set_mode_system_value(b, mode);
|
||||
*mode = nir_var_sampler_heap;
|
||||
break;
|
||||
case SpvBuiltInResourceHeapEXT:
|
||||
*location = SYSTEM_VALUE_RESOURCE_HEAP_PTR;
|
||||
set_mode_system_value(b, mode);
|
||||
*mode = nir_var_resource_heap;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue