summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2016-05-15 20:30:06 -0700
committerFrancisco Jerez <currojerez@riseup.net>2016-05-23 14:05:20 -0700
commit284c8fbcef8d631a0a727f0b7a8b34f9e4ad215d (patch)
treee05d746a8e0ec29a48bffe4f96d1911f92cd9c70 /src/mesa/drivers/dri/i965/brw_fs.h
parent70023c40c6094208cc869ef4a8eb8d9ccebc8395 (diff)
downloadexternal_mesa3d-284c8fbcef8d631a0a727f0b7a8b34f9e4ad215d.zip
external_mesa3d-284c8fbcef8d631a0a727f0b7a8b34f9e4ad215d.tar.gz
external_mesa3d-284c8fbcef8d631a0a727f0b7a8b34f9e4ad215d.tar.bz2
i965/fs: Make emit_spill/unspill static functions taking builder as argument.
This seems cleaner than exposing an implementation detail of brw_fs_reg_allocate.cpp to the world, and will give the caller control over the instruction execution flags (e.g. force_writemask_all) that are applied to the scratch read and write instructions. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index b0899dc..062fcd5 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -210,10 +210,6 @@ public:
bool opt_saturate_propagation();
bool opt_cmod_propagation();
bool opt_zero_samples();
- void emit_unspill(bblock_t *block, fs_inst *inst, fs_reg reg,
- uint32_t spill_offset, unsigned count);
- void emit_spill(bblock_t *block, fs_inst *inst, fs_reg reg,
- uint32_t spill_offset, unsigned count);
void emit_nir_code();
void nir_setup_inputs();