summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_atifragshader.c
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-03-18 14:34:51 +0200
committerFrancisco Jerez <[email protected]>2015-03-23 14:09:29 +0200
commitcff670b009ee8c8a60d1551148bf02038824507b (patch)
treeaefa50f04d01c082d64fb91f79dbc7b19d2e3cac /src/mesa/swrast/s_atifragshader.c
parent3cf99701ba6c9e56c9126fdbb74107a31ffcbcfb (diff)
i965: Define some useful swizzle helper functions.
This defines helper functions implementing some common swizzle transformations that are usually open-coded in the compiler back-end, causing a lot of clutter. Some optimization passes will become almost trivial implemented in terms of these functions (e.g. vec4_visitor::opt_reduce_swizzle()). Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_atifragshader.c')
0 files changed, 0 insertions, 0 deletions