summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-16 08:40:36 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commitad00a7899396dc56abb4f813487bb19100551348 (patch)
tree99c565e099e49fc3a26c13ea5bea5823a0215dcd /src/mesa/program
parentd8306de4ac82685ff83626b56089e3c6c2d04d70 (diff)
mesa/program: change validate_inputs() local var 'inputs' to GLbitfield64
Both state->prog->info.inputs_read and state->InputsBound are GLbitfield64 so it seems that the OR of those values should be of the same type. I'm not sure this fixes any actual issues though. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/program')
-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 04ec18d840d..1bc5f515494 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 GLbitfield inputs = state->prog->info.inputs_read | state->InputsBound;
+ const GLbitfield64 inputs = state->prog->info.inputs_read | state->InputsBound;
GLbitfield ff_inputs = 0;
/* Since Mesa internal attribute indices are different from