summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_function.cpp
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-08-03 15:04:13 -0700
committerIago Toral Quiroga <[email protected]>2015-11-23 08:36:12 +0100
commitfb93dd7aa8f2cac520bbbd3fc2af807bd2573480 (patch)
tree49bf9cf49c13a0c5ca41fef898e5b920dfd9170a /src/glsl/ast_function.cpp
parentd982922b184930a4ceed1d97b772cce5c371865d (diff)
nir/builder: only read meaningful channels in nir_swizzle()
This way the caller doesn't have to initialize all 4 channels when they aren't using them. v2: Fix signed/unsigned comparison warning (Iago) Reviewed-by: Iago Toral Quiroga <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/ast_function.cpp')
0 files changed, 0 insertions, 0 deletions