mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 02:40:11 +01:00
spirv: Add support for IntegerFunctions2INTEL capability
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
This commit is contained in:
parent
aa56934e2a
commit
4fcddb55f2
2 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ struct spirv_supported_capabilities {
|
|||
bool int16;
|
||||
bool int64;
|
||||
bool int64_atomics;
|
||||
bool integer_functions2;
|
||||
bool kernel;
|
||||
bool min_lod;
|
||||
bool multiview;
|
||||
|
|
|
|||
|
|
@ -4119,6 +4119,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(amd_image_read_write_lod, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityIntegerFunctions2INTEL:
|
||||
spv_check_supported(integer_functions2, cap);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unhandled capability: %s (%u)",
|
||||
spirv_capability_to_string(cap), cap);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue