*
* Sets the InputsRead and OutputsWritten of Mesa programs.
*
- * Additionally, for fragment shaders, sets the IsCentroid and IsSample
- * bitfields.
+ * Additionally, for fragment shaders, set the IsSample bitfield.
*
* Mesa programs (gl_program, not gl_shader_program) have a set of
* flags indicating which varyings are read and written. Computing
if (stage == MESA_SHADER_FRAGMENT) {
gl_fragment_program *fprog = (gl_fragment_program *) prog;
- if (var->data.centroid)
- fprog->IsCentroid |= bitfield;
if (var->data.sample)
fprog->IsSample |= bitfield;
}
prog->SystemValuesRead = 0;
if (shader_stage == MESA_SHADER_FRAGMENT) {
gl_fragment_program *fprog = (gl_fragment_program *) prog;
- fprog->IsCentroid = 0;
fprog->IsSample = 0;
fprog->UsesKill = false;
}
GLboolean PixelCenterInteger;
enum gl_frag_depth_layout FragDepthLayout;
- /**
- * Bitfield indicating, for each fragment shader input, 1 if that input
- * uses centroid interpolation, 0 otherwise. Unused inputs are 0.
- */
- GLbitfield64 IsCentroid;
-
/**
* Bitfield indicating, for each fragment shader input, 1 if that input
* uses sample interpolation, 0 otherwise. Unused inputs are 0.