X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fcompiler%2Fshader_info.h;h=760bc5556cbee826e257bfbbb78e84b868665c20;hp=844815d39c1283f52e359c6a0e3337da4039d13e;hb=7980f3e519f91508787b9dab3bc1e79169a77c48;hpb=4d36dceeabcc59155f2fa4acaf171ce2f3d4418c diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index 844815d39c1..760bc5556cb 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -307,6 +307,17 @@ typedef struct shader_info { /** gl_FragDepth layout for ARB_conservative_depth. */ enum gl_frag_depth_layout depth_layout:3; + + /** + * Interpolation qualifiers for drivers that lowers color inputs + * to system values. + */ + unsigned color0_interp:3; /* glsl_interp_mode */ + bool color0_sample:1; + bool color0_centroid:1; + unsigned color1_interp:3; /* glsl_interp_mode */ + bool color1_sample:1; + bool color1_centroid:1; } fs; struct {