diff options
author | Jason Ekstrand <[email protected]> | 2017-05-05 14:31:41 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-09 15:08:07 -0700 |
commit | 037ce253b17e9133bec166283c4764d42915e05f (patch) | |
tree | a0b6ff63e184cd923ce08876f87bea5b82f91053 /src/intel/compiler/brw_vec4_tes.cpp | |
parent | 2e9916ea0410385534dc3ff45cd476143a4e2041 (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4_tes.cpp')
-rw-r--r-- | src/intel/compiler/brw_vec4_tes.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/intel/compiler/brw_vec4_tes.cpp b/src/intel/compiler/brw_vec4_tes.cpp index bcf9a87eb01..35aff0f4b78 100644 --- a/src/intel/compiler/brw_vec4_tes.cpp +++ b/src/intel/compiler/brw_vec4_tes.cpp @@ -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() { |