anv: Combine ClipDistance and CullDistance arrays.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Kenneth Graunke
2016-10-03 20:42:42 -07:00
parent 9a179f2db0
commit a9eabd539c

View File

@@ -169,6 +169,9 @@ anv_shader_compile_to_nir(struct anv_device *device,
nir = brw_preprocess_nir(compiler, nir);
nir_lower_clip_cull_distance_arrays(nir);
nir_validate_shader(nir);
nir_shader_gather_info(nir, entry_point->impl);
nir_variable_mode indirect_mask = 0;