i965/vec4: Delete the system value infastructure

The only thing still using it is INVOCATION_ID for geometry shaders.
That's easily enough inlined into the nir_intrinsic_load_invocation_id
handling code.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Jason Ekstrand
2017-05-05 14:31:41 -07:00
parent 2e9916ea04
commit 037ce253b1
11 changed files with 5 additions and 137 deletions

View File

@@ -45,26 +45,6 @@ vec4_tes_visitor::vec4_tes_visitor(const struct brw_compiler *compiler,
{
}
dst_reg *
vec4_tes_visitor::make_reg_for_system_value(int location)
{
return NULL;
}
void
vec4_tes_visitor::nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr)
{
switch (instr->intrinsic) {
case nir_intrinsic_load_tess_level_outer:
case nir_intrinsic_load_tess_level_inner:
break;
default:
vec4_visitor::nir_setup_system_value_intrinsic(instr);
}
}
void
vec4_tes_visitor::setup_payload()
{