i965/fs: Remove BRW_REGISTER_TYPE_HF assert at get_exec_type
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 1 Jul 2017 06:08:20 +0000 (08:08 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Wed, 6 Dec 2017 07:57:18 +0000 (08:57 +0100)
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 <jason@jlekstrand.net>
src/intel/compiler/brw_ir_fs.h

index 0e7c55bcc03c943fa5f698c8fd1d80f6751d669c..cd603630a47ae0524cbeeae33c7438cb91c025cb 100644 (file)
@@ -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;