diff options
author | Jason Ekstrand <[email protected]> | 2018-11-16 09:23:56 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-11-19 09:57:41 -0600 |
commit | dca35c598d1ac4c6abc27a842b7885f0b05ff1bc (patch) | |
tree | b922af0179b450c3900b729681b36007bdd40b2a /src/compiler | |
parent | 060817b2fa50bd71dc6a9ece605238ba11fc67e9 (diff) |
intel/fs,vec4: Fix a compiler warning
../src/intel/compiler/brw_fs_nir.cpp:3534:46: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
assert(nir_intrinsic_write_mask(instr) ==
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
(1 << instr->num_components) - 1);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This was caused by 6339aba775ecdc which added these completely valid
checks. However clang likes to complain about signedness mismatches.
Fixes: 6339aba775ecdc "intel/compiler: Lower SSBO and shared..."
Reviewed-by: Alejandro Piñeiro <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions