Commit 07ff5679 authored by Eric Engestrom's avatar Eric Engestrom Committed by Eric Engestrom

intel/compiler: remove unused get_image_base_type()

Unused since 09f1de97 "anv,i965: Lower away image derefs in
the driver".

Cc: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Acked-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
parent a6232b69
......@@ -1712,25 +1712,6 @@ fs_visitor::emit_percomp(const fs_builder &bld, const fs_inst &inst,
}
}
/**
* Get the matching channel register datatype for an image intrinsic of the
* specified GLSL image type.
*/
static brw_reg_type
get_image_base_type(const glsl_type *type)
{
switch ((glsl_base_type)type->sampled_type) {
case GLSL_TYPE_UINT:
return BRW_REGISTER_TYPE_UD;
case GLSL_TYPE_INT:
return BRW_REGISTER_TYPE_D;
case GLSL_TYPE_FLOAT:
return BRW_REGISTER_TYPE_F;
default:
unreachable("Not reached.");
}
}
static fs_inst *
emit_pixel_interpolater_send(const fs_builder &bld,
enum opcode opcode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment