diff options
author | Eric Anholt <[email protected]> | 2012-03-19 14:26:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-04-13 17:01:10 -0700 |
commit | b782352745d322596a9122969f5c0e57ea032c1b (patch) | |
tree | 3fa81ca40de5318f7fa4b740b6095852711d3a5d /src/mesa/main/arbprogram.c | |
parent | d6e6566206029ace72ba037a3ef7950876eeb88b (diff) |
glsl: Add common swizzles to ir_builder.
Now we can fold a bunch of our expression setup in ff_fragment_shader
into single-line, parseable commits.
v2: Make it actually work. I wasn't setting num_components in the
mask structure, and not setting up a mask structure is way easier.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/arbprogram.c')
0 files changed, 0 insertions, 0 deletions