diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-04-07 11:20:21 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-04-07 11:23:44 -0600 |
commit | 48a25bdd3693ec4a2556efb3c387cc3eb8151cb5 (patch) | |
tree | 25d2dfd542258fe5ac4f6c1a6ad46605d3237570 /progs/windml/readtex.c | |
parent | 5d1e73028aabfa1470bfed02c705a2696706f857 (diff) |
mesa: new _mesa_remove_varying_reads() function
We'll apply this function to GLSL vertex programs. In GLSL it's legal to
read and write varying (output) vars in a vertex shader. But reading from
an output register isn't supported by all hardware. This routine examines
the vertex program for that condition and rewrites it to use temporary
registers where needed.
Diffstat (limited to 'progs/windml/readtex.c')
0 files changed, 0 insertions, 0 deletions