summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_vec4.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2017-03-07 10:29:53 +0100
committerFrancisco Jerez <[email protected]>2017-04-14 14:56:09 -0700
commitf030aaf2fb558219a43f286e2ea71c928e49b598 (patch)
treeae4b169f313984f9646f14d0c6080514c44d4dd7 /src/intel/compiler/brw_vec4.h
parenta907c91e93cce88ee1929263c455fab541b8c4a3 (diff)
i965/vec4: use vec4_builder to emit instructions in setup_imm_df()
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> [ Francisco Jerez: Drop useless vec4_visitor dependencies. Demote to static stand-alone function. Don't write unused components in the result. Use vec4_builder interface for register allocation. ] Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4.h')
-rw-r--r--src/intel/compiler/brw_vec4.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_vec4.h b/src/intel/compiler/brw_vec4.h
index d12405c22e1..89adfaa7b79 100644
--- a/src/intel/compiler/brw_vec4.h
+++ b/src/intel/compiler/brw_vec4.h
@@ -28,6 +28,7 @@
#ifdef __cplusplus
#include "brw_ir_vec4.h"
+#include "brw_vec4_builder.h"
#endif
#include "compiler/glsl/ir.h"
@@ -324,8 +325,6 @@ public:
void emit_conversion_from_double(dst_reg dst, src_reg src, bool saturate);
void emit_conversion_to_double(dst_reg dst, src_reg src, bool saturate);
- src_reg setup_imm_df(double v);
-
vec4_instruction *shuffle_64bit_data(dst_reg dst, src_reg src,
bool for_write,
bblock_t *block = NULL,