summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-05-03 10:41:38 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-05-05 16:25:21 -0700
commita815499294afb485fe6773fba9ba12fa6773c654 (patch)
tree2053e33b88457ac1edeb1b2a5295c92c13f0da73 /src/mesa/drivers/dri/i965/brw_fs.h
parent4fab8dd5ea0730be7a484ed4b4bf80598c21cbfa (diff)
downloadexternal_mesa3d-a815499294afb485fe6773fba9ba12fa6773c654.zip
external_mesa3d-a815499294afb485fe6773fba9ba12fa6773c654.tar.gz
external_mesa3d-a815499294afb485fe6773fba9ba12fa6773c654.tar.bz2
i965/fs: Merge nir_emit_texture and emit_texture
The fs_visitor::emit_texture helper originated when we still had both NIR and IR visitors for the FS backend. Since the old visitor was removed, emit_texture serves no real purpose beyond arbitrarily splitting heavily-linked code across two functions.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index ba6bd3f..f6b1ea9 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -202,21 +202,6 @@ public:
void emit_interpolation_setup_gen4();
void emit_interpolation_setup_gen6();
void compute_sample_position(fs_reg dst, fs_reg int_sample_pos);
- void emit_texture(ir_texture_opcode op,
- const glsl_type *dest_type,
- fs_reg coordinate, int components,
- fs_reg shadow_c,
- fs_reg lod, fs_reg dpdy, int grad_components,
- fs_reg sample_index,
- fs_reg offset,
- fs_reg mcs,
- int gather_component,
- bool is_cube_array,
- uint32_t surface,
- fs_reg surface_reg,
- uint32_t sampler,
- fs_reg sampler_reg,
- unsigned return_channels);
fs_reg emit_mcs_fetch(const fs_reg &coordinate, unsigned components,
const fs_reg &sampler);
void emit_gen6_gather_wa(uint8_t wa, fs_reg dst);
@@ -379,9 +364,6 @@ public:
bool simd16_unsupported;
char *no16_msg;
- /* Result of last visit() method. Still used by emit_texture() */
- fs_reg result;
-
/** Register numbers for thread payload fields. */
struct thread_payload {
uint8_t source_depth_reg;