mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
spirv: add SpvCapabilityImageGatherBiasLodAMD
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5147>
This commit is contained in:
parent
c7943343a0
commit
dd39bf52b0
2 changed files with 5 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ struct spirv_supported_capabilities {
|
|||
bool amd_trinary_minmax;
|
||||
bool amd_image_read_write_lod;
|
||||
bool amd_shader_explicit_vertex_parameter;
|
||||
bool amd_image_gather_bias_lod;
|
||||
};
|
||||
|
||||
typedef struct shader_info {
|
||||
|
|
|
|||
|
|
@ -4061,6 +4061,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(amd_fragment_mask, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityImageGatherBiasLodAMD:
|
||||
spv_check_supported(amd_image_gather_bias_lod, cap);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unhandled capability: %s (%u)",
|
||||
spirv_capability_to_string(cap), cap);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue