spirv: add OpLifetime*

These are just hints so we can ignore them.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
Rob Clark 2018-02-23 15:54:24 -05:00 committed by Karol Herbst
parent acc0658942
commit ddb9701a3c

View file

@ -4981,6 +4981,10 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode,
break;
}
case SpvOpLifetimeStart:
case SpvOpLifetimeStop:
break;
default:
vtn_fail_with_opcode("Unhandled opcode", opcode);
}