mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i965: Assert that the 4x8 pack/unpack operations have been lowered
Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
96220111dd
commit
64dbc51b49
3 changed files with 12 additions and 0 deletions
|
|
@ -343,10 +343,14 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
|
|||
break;
|
||||
|
||||
case ir_unop_pack_snorm_2x16:
|
||||
case ir_unop_pack_snorm_4x8:
|
||||
case ir_unop_pack_unorm_2x16:
|
||||
case ir_unop_pack_unorm_4x8:
|
||||
case ir_unop_pack_half_2x16:
|
||||
case ir_unop_unpack_snorm_2x16:
|
||||
case ir_unop_unpack_snorm_4x8:
|
||||
case ir_unop_unpack_unorm_2x16:
|
||||
case ir_unop_unpack_unorm_4x8:
|
||||
case ir_unop_unpack_half_2x16:
|
||||
case ir_quadop_vector:
|
||||
assert(!"should have been lowered");
|
||||
|
|
|
|||
|
|
@ -539,9 +539,13 @@ fs_visitor::visit(ir_expression *ir)
|
|||
this->result, op[0], op[1]);
|
||||
break;
|
||||
case ir_unop_pack_snorm_2x16:
|
||||
case ir_unop_pack_snorm_4x8:
|
||||
case ir_unop_pack_unorm_2x16:
|
||||
case ir_unop_pack_unorm_4x8:
|
||||
case ir_unop_unpack_snorm_2x16:
|
||||
case ir_unop_unpack_snorm_4x8:
|
||||
case ir_unop_unpack_unorm_2x16:
|
||||
case ir_unop_unpack_unorm_4x8:
|
||||
case ir_unop_unpack_half_2x16:
|
||||
case ir_unop_pack_half_2x16:
|
||||
assert(!"not reached: should be handled by lower_packing_builtins");
|
||||
|
|
|
|||
|
|
@ -1596,9 +1596,13 @@ vec4_visitor::visit(ir_expression *ir)
|
|||
emit_unpack_half_2x16(result_dst, op[0]);
|
||||
break;
|
||||
case ir_unop_pack_snorm_2x16:
|
||||
case ir_unop_pack_snorm_4x8:
|
||||
case ir_unop_pack_unorm_2x16:
|
||||
case ir_unop_pack_unorm_4x8:
|
||||
case ir_unop_unpack_snorm_2x16:
|
||||
case ir_unop_unpack_snorm_4x8:
|
||||
case ir_unop_unpack_unorm_2x16:
|
||||
case ir_unop_unpack_unorm_4x8:
|
||||
assert(!"not reached: should be handled by lower_packing_builtins");
|
||||
break;
|
||||
case ir_unop_unpack_half_2x16_split_x:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue