ac/radeonsi: add lookup_interp_param and load_sample_position to the abi
[mesa.git] / src / amd / common / ac_shader_abi.h
index 9cdfd9d1dfc6472c97f85f184be4e097b24d98bc..d9bb5a1e32989cfcde0cc40826e50478ee5512de 100644 (file)
@@ -147,6 +147,13 @@ struct ac_shader_abi {
                                          enum ac_descriptor_type desc_type,
                                          bool image, bool write);
 
+       LLVMValueRef (*lookup_interp_param)(struct ac_shader_abi *abi,
+                                           enum glsl_interp_mode interp,
+                                           unsigned location);
+
+       LLVMValueRef (*load_sample_position)(struct ac_shader_abi *abi,
+                                            LLVMValueRef sample_id);
+
        /* Whether to clamp the shadow reference value to [0,1]on VI. Radeonsi currently
         * uses it due to promoting D16 to D32, but radv needs it off. */
        bool clamp_shadow_reference;