summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program_parse.y
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-15 23:53:04 +0100
committerMarek Olšák <[email protected]>2017-11-25 17:18:22 +0100
commit78942e7dbfd234ce080b2773b9317a61deb77788 (patch)
tree71a93812dcc3229abee231c51ec40f39aa1aeb51 /src/mesa/program/program_parse.y
parent43abaf2ad0c1c42e56e47732395cc98912a050e8 (diff)
mesa: shrink VERT_ATTRIB bitfields to 32 bits
There are only 32 vertex attribs now. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/program_parse.y')
-rw-r--r--src/mesa/program/program_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y
index 1bc5f515494..04ec18d840d 100644
--- a/src/mesa/program/program_parse.y
+++ b/src/mesa/program/program_parse.y
@@ -2212,7 +2212,7 @@ set_src_reg_swz(struct asm_src_register *r, gl_register_file file, GLint index,
int
validate_inputs(struct YYLTYPE *locp, struct asm_parser_state *state)
{
- const GLbitfield64 inputs = state->prog->info.inputs_read | state->InputsBound;
+ const GLbitfield inputs = state->prog->info.inputs_read | state->InputsBound;
GLbitfield ff_inputs = 0;
/* Since Mesa internal attribute indices are different from