mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-12 20:28:19 +02:00
spirv: Add new SPV_KHR_descriptor_heap Builtins
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40649>
This commit is contained in:
parent
719cb88748
commit
bc031b76d8
1 changed files with 9 additions and 0 deletions
|
|
@ -1318,6 +1318,15 @@ vtn_get_builtin_location(struct vtn_builder *b,
|
|||
set_mode_system_value(b, mode);
|
||||
break;
|
||||
|
||||
case SpvBuiltInSamplerHeapEXT:
|
||||
*location = SYSTEM_VALUE_SAMPLER_HEAP_PTR;
|
||||
set_mode_system_value(b, mode);
|
||||
break;
|
||||
case SpvBuiltInResourceHeapEXT:
|
||||
*location = SYSTEM_VALUE_RESOURCE_HEAP_PTR;
|
||||
set_mode_system_value(b, mode);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unsupported builtin: %s (%u)",
|
||||
spirv_builtin_to_string(builtin), builtin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue