summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2016-04-28 00:19:13 -0700
committerMatt Turner <mattst88@gmail.com>2016-05-03 18:06:21 -0700
commit1cc7573162a7f0e8346d7abab50890c58a0dce9a (patch)
treeac2c399432e71a5768521f67cdf5da7429a67fe1 /src/mesa/drivers/dri/i965/brw_shader.h
parentc55dc77ab13420a9fe0177ccd21a6b0a950d9113 (diff)
downloadexternal_mesa3d-1cc7573162a7f0e8346d7abab50890c58a0dce9a.zip
external_mesa3d-1cc7573162a7f0e8346d7abab50890c58a0dce9a.tar.gz
external_mesa3d-1cc7573162a7f0e8346d7abab50890c58a0dce9a.tar.bz2
i965: Pass devinfo pointer to is_3src() helpers.
This is not strictly required for the following changes because none of the three-source opcodes we support at the moment in the compiler back-end has been removed or redefined, but that's likely to change in the future. In any case having hardware instructions specified as a pair of hardware device and opcode number explicitly in all cases will simplify the opcode look-up interface introduced in a subsequent commit, since the opcode number alone is in general ambiguous. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 8ab8d5b..d77531c 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -101,7 +101,7 @@ struct bblock_t;
#ifdef __cplusplus
struct backend_instruction : public exec_node {
- bool is_3src() const;
+ bool is_3src(const struct brw_device_info *devinfo) const;
bool is_tex() const;
bool is_math() const;
bool is_control_flow() const;