fix: texture coords for texture arrays

This commit is contained in:
Samuliak
2024-10-05 13:51:32 +02:00
parent c921e32d48
commit 1b690aab26
2 changed files with 112 additions and 95 deletions

View File

@@ -207,11 +207,11 @@ void EmitFPRoundEven16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::I
}
void EmitFPRoundEven32(EmitContext& ctx, IR::Inst& inst, std::string_view value) {
ctx.AddF32("{}=roundEven({});", inst, value);
ctx.AddF32("{}=rint({});", inst, value);
}
void EmitFPRoundEven64(EmitContext& ctx, IR::Inst& inst, std::string_view value) {
ctx.AddF64("{}=roundEven({});", inst, value);
ctx.AddF64("{}=rint({});", inst, value);
}
void EmitFPFloor16([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,