shader: Address feedback + clang format

This commit is contained in:
lat9nq 2021-04-10 02:32:55 -04:00 committed by ameerj
parent 0bb85f6a75
commit 5bfcafa0a2
12 changed files with 22 additions and 24 deletions

View file

@ -304,10 +304,6 @@ Id EmitImageGatherDref(EmitContext& ctx, IR::Inst* inst, const IR::Value& index,
ctx.F32[4], Texture(ctx, index), coords, dref, operands.Mask(), operands.Span());
}
#ifdef _WIN32
#pragma optimize("", off)
#endif
Id EmitImageFetch(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, Id offset,
Id lod, Id ms) {
const auto info{inst->Flags<IR::TextureInstInfo>()};