diff options
author | Rob Clark <[email protected]> | 2015-09-17 21:07:41 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-09-17 21:08:25 -0400 |
commit | 2e4ab489b5963e57df01fa20bb95d67139de8b75 (patch) | |
tree | 45859784fb5b7d08a4306ff67baf7e3a640ba625 /src/mesa/main/readpix.c | |
parent | 7c72f593adc0bbe9570236636abf64b4fc18d88d (diff) |
nir/builder: fix c++11 compiler warning
Fixes:
In file included from nir/nir_lower_samplers.cpp:27:0:
nir/nir_builder.h: In function 'nir_ssa_def* nir_channel(nir_builder*, nir_ssa_def*, int)':
nir/nir_builder.h:222:37: warning: narrowing conversion of 'c' from 'int' to 'unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned swizzle[4] = {c, c, c, c};
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/main/readpix.c')
0 files changed, 0 insertions, 0 deletions