*/
struct ilo_shader {
struct ilo_shader_variant variant;
- /* hash of the shader variant for quicker lookup */
- unsigned hash;
struct {
int semantic_names[PIPE_MAX_SHADER_INPUTS];
} in;
struct {
+ int register_indices[PIPE_MAX_SHADER_OUTPUTS];
int semantic_names[PIPE_MAX_SHADER_OUTPUTS];
int semantic_indices[PIPE_MAX_SHADER_OUTPUTS];
int count;
* Information about a shader state.
*/
struct ilo_shader_info {
+ const struct ilo_dev_info *dev;
int type;
- int gen;
const struct tgsi_token *tokens;