From a05b6f25bf4bfad7bb56d20aca0d2424607f9004 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Sat, 1 Jul 2017 08:08:20 +0200 Subject: [PATCH] i965/fs: Remove BRW_REGISTER_TYPE_HF assert at get_exec_type Note that we don't remove the assert at i965/vec4. At this point half float support is only for the scalar backend. Reviewed-by: Jason Ekstrand --- 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 0e7c55bcc03..cd603630a47 100644 --- a/src/intel/compiler/brw_ir_fs.h +++ b/src/intel/compiler/brw_ir_fs.h @@ -465,9 +465,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.11.0