diff options
author | Dave Airlie <[email protected]> | 2017-03-29 15:12:31 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-03-30 11:04:56 +1000 |
commit | 2b35b60df15a158541f147750085fe051909ba5d (patch) | |
tree | 0546b6afd58da4db0d261f4d614df9b04ec0e2df /src/amd/vulkan | |
parent | 5079c277b577b5052113567ee70b790b965ec933 (diff) |
radv: move to using nir clip/cull merge pass.
Doing this before tessellation makes doing some bits of
tessellation a bit cleaner. It also cleans up a bit of the
llvm generator code.
Reviewed-by: Edward O'Callaghan <[email protected]>
Acked-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 07020e8c387..df46276eb26 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -246,6 +246,7 @@ radv_shader_compile_to_nir(struct radv_device *device, */ NIR_PASS_V(nir, nir_lower_constant_initializers, ~0); NIR_PASS_V(nir, nir_lower_system_values); + NIR_PASS_V(nir, nir_lower_clip_cull_distance_arrays); } /* Vulkan uses the separate-shader linking model */ |