From: Jason Ekstrand Date: Fri, 30 Oct 2015 04:35:27 +0000 (-0700) Subject: nir/intrinsics: Add a load_push_constant intrinsic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2283508b0426df95968c46909d6ff16fa29a554;p=mesa.git nir/intrinsics: Add a load_push_constant intrinsic --- diff --git a/src/glsl/nir/nir_intrinsics.h b/src/glsl/nir/nir_intrinsics.h index e13951081e9..b2ceff566cf 100644 --- a/src/glsl/nir/nir_intrinsics.h +++ b/src/glsl/nir/nir_intrinsics.h @@ -252,6 +252,7 @@ LOAD(ubo, 1, 2, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER) LOAD(input, 0, 1, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER) LOAD(per_vertex_input, 1, 1, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER) LOAD(ssbo, 1, 1, NIR_INTRINSIC_CAN_ELIMINATE) +LOAD(push_constant, 0, 1, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER) /* * Stores work the same way as loads, except now the first register input is