i965: Use NIR to lower legacy userclipping.
This allows us to drop legacy userclip plane handling in both the vec4 and FS backends, and simplifies a few interfaces. v2 (Jason Ekstrand): - Move brw_nir_lower_legacy_clipping to brw_nir_uniforms.cpp because it's i965-specific. - Handle adding the params in brw_nir_lower_legacy_clipping - Call brw_nir_lower_legacy_clipping from brw_codegen_vs_prog Co-authored-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:

committed by
Jason Ekstrand

parent
d10de25309
commit
517005b4cf
@@ -80,8 +80,6 @@ public:
|
||||
|
||||
fs_reg vgrf(const glsl_type *const type);
|
||||
void import_uniforms(fs_visitor *v);
|
||||
void setup_uniform_clipplane_values();
|
||||
void compute_clip_distance();
|
||||
|
||||
void VARYING_PULL_CONSTANT_LOAD(const brw::fs_builder &bld,
|
||||
const fs_reg &dst,
|
||||
@@ -380,7 +378,6 @@ public:
|
||||
fs_reg pixel_w;
|
||||
fs_reg delta_xy[BRW_BARYCENTRIC_MODE_COUNT];
|
||||
fs_reg shader_start_time;
|
||||
fs_reg userplane[MAX_CLIP_PLANES];
|
||||
fs_reg final_gs_vertex_count;
|
||||
fs_reg control_data_bits;
|
||||
fs_reg invocation_id;
|
||||
|
Reference in New Issue
Block a user