enum
{
- /* Use a property enum that CS wouldn't use. */
- TGSI_PROPERTY_CS_LOCAL_SIZE = TGSI_PROPERTY_FS_COORD_ORIGIN,
-
/* These represent the number of SGPRs the shader uses. */
SI_VS_BLIT_SGPRS_POS = 3,
SI_VS_BLIT_SGPRS_POS_COLOR = 7,
ubyte color_interpolate_loc[2];
int constbuf0_num_slots;
- unsigned const_buffers_declared; /**< bitmask of declared const buffers */
- unsigned samplers_declared; /**< bitmask of declared samplers */
ubyte num_stream_output_components[4];
uint num_memory_instructions; /**< sampler, buffer, and image instructions */
ubyte colors_read; /**< which color components are read by the FS */
ubyte colors_written;
+ bool color0_writes_all_cbufs; /**< gl_FragColor */
bool reads_samplemask; /**< does fragment shader read sample mask? */
bool reads_tess_factors; /**< If TES reads TESSINNER or TESSOUTER */
bool writes_z; /**< does fragment shader write Z value? */
unsigned num_written_culldistance;
unsigned num_written_clipdistance;
- unsigned images_declared; /**< bitmask of declared images */
- unsigned image_buffers; /**< bitmask of images that are buffers */
- unsigned msaa_images_declared; /**< bitmask of declared MSAA images */
- unsigned shader_buffers_declared; /**< bitmask of declared shader buffers */
-
- unsigned properties[TGSI_PROPERTY_COUNT]; /* index with TGSI_PROPERTY_ */
-
/** Whether all codepaths write tess factors in all invocations. */
bool tessfactors_are_def_in_all_invocs;
};