glsl: Add IsCentroid bitfield to gl_fragment_program.
authorPaul Berry <stereotype441@gmail.com>
Mon, 18 Jun 2012 19:10:13 +0000 (12:10 -0700)
committerPaul Berry <stereotype441@gmail.com>
Mon, 25 Jun 2012 18:03:26 +0000 (11:03 -0700)
commitbebb0438113efdcc1c2aaed95c70ba87de1d3053
treeb0729ad934f0c59ddd321fa4f5bcc4772c972d8a
parent2a4af651e6997f2fb88efd07aad14542a1b08579
glsl: Add IsCentroid bitfield to gl_fragment_program.

This bitfield tells the back-ends which of a fragment shader's inputs
require centroid interpolation.  It is only set for GLSL fragment
shaders, since assembly fragment shaders don't support centroid
interpolation.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/ir_set_program_inouts.cpp
src/mesa/main/mtypes.h