mesa: move STATE_LENGTH to shader_enums.h and use it everywhere
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -397,7 +397,7 @@ depth_layout_string(ir_depth_layout layout);
|
||||
* \sa ir_variable::state_slots
|
||||
*/
|
||||
struct ir_state_slot {
|
||||
gl_state_index16 tokens[5];
|
||||
gl_state_index16 tokens[STATE_LENGTH];
|
||||
int swizzle;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user