[Mesa-dev] [PATCH 23/24] TESTING ONLY: Lower everything all the time on i965
Ian Romanick
idr at freedesktop.org
Wed Jun 29 21:04:30 UTC 2016
From: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/drivers/dri/i965/brw_link.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp
index 9cdbe30..2be8cbd 100644
--- a/src/mesa/drivers/dri/i965/brw_link.cpp
+++ b/src/mesa/drivers/dri/i965/brw_link.cpp
@@ -112,11 +112,14 @@ process_glsl_ir(gl_shader_stage stage,
EXP_TO_EXP2 |
LOG_TO_LOG2 |
DFREXP_DLDEXP_TO_ARITH);
- if (brw->gen < 7) {
+ if (true || brw->gen < 7) {
instructions_to_lower |= BIT_COUNT_TO_MATH |
EXTRACT_TO_SHIFTS |
INSERT_TO_SHIFTS |
- REVERSE_TO_SHIFTS;
+ REVERSE_TO_SHIFTS |
+ FIND_LSB_TO_FLOAT_CAST |
+ FIND_MSB_TO_FLOAT_CAST |
+ IMUL_HIGH_TO_MUL;
}
lower_instructions(shader->ir, instructions_to_lower);
--
2.5.5
More information about the mesa-dev
mailing list