diff options
author | Francisco Jerez <[email protected]> | 2015-03-18 14:34:51 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-03-23 14:09:29 +0200 |
commit | cff670b009ee8c8a60d1551148bf02038824507b (patch) | |
tree | aefa50f04d01c082d64fb91f79dbc7b19d2e3cac /src/mesa/vbo/vbo_context.h | |
parent | 3cf99701ba6c9e56c9126fdbb74107a31ffcbcfb (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/vbo/vbo_context.h')
0 files changed, 0 insertions, 0 deletions