summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2016-07-21 20:25:28 -0700
committerFrancisco Jerez <currojerez@riseup.net>2016-08-25 18:36:06 -0700
commitaf0cc743e607293146861518bb6ef96f411aeca9 (patch)
tree8935fa3c3b305649d96637d5ad1d808f0652c9f5 /src/mesa/drivers/dri/i965/brw_fs.h
parentfe6abb5755e0368c993e6f7cf25a0712ee6503a9 (diff)
downloadexternal_mesa3d-af0cc743e607293146861518bb6ef96f411aeca9.zip
external_mesa3d-af0cc743e607293146861518bb6ef96f411aeca9.tar.gz
external_mesa3d-af0cc743e607293146861518bb6ef96f411aeca9.tar.bz2
i965/fs: Implement non-coherent framebuffer fetch using the sampler unit.
v2: Memoize sample ID, misc codestyle changes. (Ken) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 86e85db..7819f1c 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -244,6 +244,8 @@ public:
fs_reg color1, fs_reg color2,
fs_reg src0_alpha, unsigned components);
void emit_fb_writes();
+ fs_inst *emit_non_coherent_fb_read(const brw::fs_builder &bld,
+ const fs_reg &dst, unsigned target);
void emit_urb_writes(const fs_reg &gs_vertex_count = fs_reg());
void set_gs_stream_control_data_bits(const fs_reg &vertex_count,
unsigned stream_id);