nir/lower_wpos_center: support adding sample position to fragment coordinate
[mesa.git] / src / compiler / nir / nir.h
index d032787a2a068145c5a8a4f76dc142e38ec092de..f88707a31a07ff99ef1b09677a6f2a5ddce6502c 100644 (file)
@@ -2518,7 +2518,7 @@ typedef struct nir_lower_wpos_ytransform_options {
 
 bool nir_lower_wpos_ytransform(nir_shader *shader,
                                const nir_lower_wpos_ytransform_options *options);
-bool nir_lower_wpos_center(nir_shader *shader);
+bool nir_lower_wpos_center(nir_shader *shader, const bool for_sample_shading);
 
 typedef struct nir_lower_drawpixels_options {
    int texcoord_state_tokens[5];