shader: Remove IAbs64

This commit is contained in:
ReinUsesLisp
2021-06-22 18:28:21 -03:00
committed by ameerj
parent bc6e399ae3
commit 4397053d5c
9 changed files with 3 additions and 26 deletions

View File

@ -80,10 +80,6 @@ void EmitIAbs32(EmitContext& ctx, IR::Inst& inst, std::string_view value) {
ctx.AddU32("{}=abs(int({}));", inst, value);
}
void EmitIAbs64(EmitContext& ctx, IR::Inst& inst, std::string_view value) {
ctx.AddU64("{}=abs(int64_t({}));", inst, value);
}
void EmitShiftLeftLogical32(EmitContext& ctx, IR::Inst& inst, std::string_view base,
std::string_view shift) {
ctx.AddU32("{}={}<<{};", inst, base, shift);