shader: Add IsTextureScaled opcode

This commit is contained in:
ReinUsesLisp 2021-07-25 22:04:53 -03:00 committed by Fernando Sahmkow
parent 74efa57c1b
commit c15332c44f
10 changed files with 34 additions and 0 deletions

View file

@ -470,4 +470,8 @@ void EmitImageWrite(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id
ctx.OpImageWrite(Image(ctx, index, info), coords, color);
}
Id EmitIsTextureScaled([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] const IR::Value& index) {
return ctx.false_value;
}
} // namespace Shader::Backend::SPIRV