summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2015-06-03 20:43:09 +0300
committerFrancisco Jerez <currojerez@riseup.net>2015-06-09 15:18:33 +0300
commitd3c10ad42729c1fe74a7f7c67465bd2beb7f9e75 (patch)
tree4b5e55624a531a8a12e73b50c483a1479c32bdc4 /src/mesa/drivers/dri/i965/brw_fs.h
parent35e64f2a769c915bedeafdb86152b0c4a2067b35 (diff)
downloadexternal_mesa3d-d3c10ad42729c1fe74a7f7c67465bd2beb7f9e75.zip
external_mesa3d-d3c10ad42729c1fe74a7f7c67465bd2beb7f9e75.tar.gz
external_mesa3d-d3c10ad42729c1fe74a7f7c67465bd2beb7f9e75.tar.bz2
i965/fs: Migrate shader time to the IR builder.
v2: Change null register destination type to UD so it can be compacted. Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index cf56836..de37298 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -339,7 +339,8 @@ public:
void emit_shader_time_begin();
void emit_shader_time_end();
- fs_inst *SHADER_TIME_ADD(enum shader_time_shader_type type, fs_reg value);
+ void SHADER_TIME_ADD(const brw::fs_builder &bld,
+ enum shader_time_shader_type type, fs_reg value);
void emit_untyped_atomic(unsigned atomic_op, unsigned surf_index,
fs_reg dst, fs_reg offset, fs_reg src0,
@@ -350,7 +351,7 @@ public:
void resolve_ud_negate(fs_reg *reg);
- fs_reg get_timestamp(fs_inst **out_mov);
+ fs_reg get_timestamp(const brw::fs_builder &bld);
struct brw_reg interp_reg(int location, int channel);
int implied_mrf_writes(fs_inst *inst);