diff options
author | Tobias Klausmann <[email protected]> | 2016-05-08 22:44:05 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-14 08:28:07 +1000 |
commit | ad355652c20b245f5f2faa8622e71461e3121a7f (patch) | |
tree | 9bd401adde19138d616d4accd941451dce1bcfe2 /src/compiler/glsl/tests/optimization-test | |
parent | dd3390e12fa8c8fa127013a9fc7c83069747aad2 (diff) |
glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v4)
This will come in handy when we want to lower gl_CullDistance into
gl_CullDistanceMESA.
[airlied: drop separate APIs for clip/cull - just use single API
to call both passes.]
v3: reexamine my sanity, this was pretty broken, the new code
creates one copy of gl_ClipDistanceMESA, as the clip distance
varying and lowers everything into that in two passes, one for clips
one for culls.
v4: rework using the passes in clip/cull sizes, instead of the
array sizes.
Signed-off-by: Tobias Klausmann <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/compiler/glsl/tests/optimization-test')
0 files changed, 0 insertions, 0 deletions