[Mesa-dev] [PATCH v3 13/43] i965/fs: Remove BRW_REGISTER_TYPE_HF assert at get_exec_type

Jose Maria Casanova Crespo jmcasanova at igalia.com
Thu Oct 12 18:38:02 UTC 2017


From: Alejandro PiƱeiro <apinheiro at igalia.com>

Note that we don't remove the assert at i965/vec4. At this point half
float support is only for the scalar backend.
---
 src/intel/compiler/brw_ir_fs.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/intel/compiler/brw_ir_fs.h b/src/intel/compiler/brw_ir_fs.h
index 58beae0d1f..aa8b48e4dc 100644
--- a/src/intel/compiler/brw_ir_fs.h
+++ b/src/intel/compiler/brw_ir_fs.h
@@ -467,9 +467,6 @@ get_exec_type(const fs_inst *inst)
    if (exec_type == BRW_REGISTER_TYPE_B)
       exec_type = inst->dst.type;
 
-   /* TODO: We need to handle half-float conversions. */
-   assert(exec_type != BRW_REGISTER_TYPE_HF ||
-          inst->dst.type == BRW_REGISTER_TYPE_HF);
    assert(exec_type != BRW_REGISTER_TYPE_B);
 
    return exec_type;
-- 
2.13.6



More information about the mesa-dev mailing list