summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-09-03 16:55:37 -0700
committerKenneth Graunke <[email protected]>2013-09-09 11:52:22 -0700
commit1a6c0efa116e7427e3ee5f24db2000e3edb66047 (patch)
tree0843cf556e5072128c6b8dd862e455cff0fcbbd4 /scons
parent202238824bdde9ddac5753232eee4f3d1e2d67db (diff)
glsl: Expose IR builder support for arbitrary swizzling.
IR builder already offers a lot of swizzling functions, such as swizzle_xxxx, swizzle_z, or swizzle_for_size. The swizzle_xxxx style is convenient if you statically know which components you want. swizzle_for_size is great if you want to select the first few components. However, if you want to select components based on, say, a loop counter, none of those are sufficient. IR builder actually already had support for arbitrary swizzling, but didn't expose it. This patch exposes that API. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions