diff options
author | Samuel Pitoiset <[email protected]> | 2019-05-16 12:25:40 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-23 10:48:02 +0000 |
commit | dea29b3818ecd813f5b96d44d54d0d3966af1665 (patch) | |
tree | a3d24863228a94e121b094cdbd5cbdf12caa2dcf /src/compiler/spirv | |
parent | e60de085473174e5a6b5a1e33e39006e62f5c786 (diff) |
spirv: add SpvCapabilityFragmentMaskAMD
This new capability is for SPV_AMD_shader_fragment_mask.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3304>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 6df936b44f9..5e2ed6c27eb 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -4123,6 +4123,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, spv_check_supported(integer_functions2, cap); break; + case SpvCapabilityFragmentMaskAMD: + spv_check_supported(amd_fragment_mask, cap); + break; + default: vtn_fail("Unhandled capability: %s (%u)", spirv_capability_to_string(cap), cap); |