mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 16:00:56 +00:00
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 <nicolai.haehnle@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
d8306de4ac
commit
ad00a78993
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user