aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_noop_swizzle.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-26 10:53:43 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:51 -0700
commit1a8111aea43b714609a20c1cb841ca58ae10dd83 (patch)
tree6c8d115fa30ed403944da98452c1bc6feb943d62 /src/glsl/opt_noop_swizzle.cpp
parented3040f3baa468a0e16ea1ae2e5202c18d838c8f (diff)
intel: Silence "intel/intel_fbo.h:105:4: warning: comparison of unsigned expression < 0 is always false"
The test was of an enum, attIndex, which should be unsigned. The explicit check for < 0 was replaced with a cast to unsigned in an assertion that attIndex is less than the size of the array it will be used to index. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/opt_noop_swizzle.cpp')
0 files changed, 0 insertions, 0 deletions