diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 782e0878c7a..eb8cc34a597 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -1744,6 +1744,11 @@ intrinsic("load_ubo_base_agx", src_comp=[1], dest_comp=1, bit_sizes=[64], intrinsic("load_vbo_base_agx", src_comp=[1], dest_comp=1, bit_sizes=[64], flags=[CAN_ELIMINATE, CAN_REORDER]) +# Load a driver-internal system value from a given system value set at a given +# binding within the set. This is used for correctness when lowering things like +# UBOs with merged shaders. +load("sysval_agx", [], [DESC_SET, BINDING], [CAN_REORDER, CAN_ELIMINATE]) + # Write out a sample mask for a targeted subset of samples, specified in the two # masks. Maps to the corresponding AGX instruction, the actual workings are # documented elsewhere as they are too complicated for this comment.