This will enable the driver to tell which regids to link up to which
MRT outputs.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
break;
}
+ case TGSI_TOKEN_TYPE_PROPERTY: {
+ struct tgsi_full_property *prop =
+ &ctx->parser.FullToken.FullProperty;
+ switch (prop->Property.PropertyName) {
+ case TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS:
+ ctx->so->color0_mrt = !!prop->u[0].Data;
+ break;
+ }
+ }
default:
break;
}
* to bary.f instructions
*/
uint8_t pos_regid;
- bool frag_coord, frag_face;
+ bool frag_coord, frag_face, color0_mrt;
/* varyings/outputs: */
unsigned outputs_count;