i965: Use shader_info for brw_vue_prog_data::cull_distance_mask.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Oct 2016 06:36:30 +0000 (23:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Nov 2016 20:30:25 +0000 (12:30 -0800)
commit19c652b29ce7271374cd0951bdadc9840964e78e
tree1a23f9e5703d4da0fcd972ad4a3568c102c240a4
parentc447ca64c13f386474e518e0e8dd523ee24507fe
i965: Use shader_info for brw_vue_prog_data::cull_distance_mask.

This also allows us to move it from a GL specific location to a
part of the compiler shared by both GL and Vulkan.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c