summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_compile.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-04-07 11:20:21 -0600
committerBrian <[email protected]>2008-04-07 11:23:44 -0600
commit48a25bdd3693ec4a2556efb3c387cc3eb8151cb5 (patch)
tree25d2dfd542258fe5ac4f6c1a6ad46605d3237570 /src/mesa/shader/slang/slang_compile.c
parent5d1e73028aabfa1470bfed02c705a2696706f857 (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 'src/mesa/shader/slang/slang_compile.c')
0 files changed, 0 insertions, 0 deletions