summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_binary.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-01-05 17:45:01 +0100
committerBas Nieuwenhuizen <[email protected]>2019-01-07 23:15:37 +0100
commitbe6cee51c06dc72ac159bd75b4201c61952515bd (patch)
tree30e089a116840d11eb8538fc224780dc904abdce /src/amd/common/ac_binary.c
parent64c83efaee2df407ebfb806918da461263d95781 (diff)
amd/common: Add some parentheses to silence warning.
[1/59] Compiling C object 'src/amd/common/src@amd@common@@amd_common@sta/ac_nir_to_llvm.c.o'. ../mesa/src/amd/common/ac_nir_to_llvm.c: In function ‘get_inst_tessfactor_writemask’: ../mesa/src/amd/common/ac_nir_to_llvm.c:4089:32: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] writemask = ((1 << num_comps + 1) - 1) << first_component; ~~~~~~~~~~^~~ ../mesa/src/amd/common/ac_nir_to_llvm.c:4091:33: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] writemask = (((1 << num_comps + 1) - 1) << first_component) << 4; Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/common/ac_binary.c')
0 files changed, 0 insertions, 0 deletions