mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
glsl: Fix tracking of info.uses_shadow_lod
This commit is contained in:
parent
11f04f1022
commit
41c6cb70f9
1 changed files with 4 additions and 4 deletions
|
@ -505,10 +505,6 @@ void VisitUsages(Info& info, IR::Inst& inst) {
|
||||||
case IR::Opcode::BoundImageQueryDimensions:
|
case IR::Opcode::BoundImageQueryDimensions:
|
||||||
case IR::Opcode::BoundImageQueryLod:
|
case IR::Opcode::BoundImageQueryLod:
|
||||||
case IR::Opcode::BoundImageGradient:
|
case IR::Opcode::BoundImageGradient:
|
||||||
case IR::Opcode::ImageSampleImplicitLod:
|
|
||||||
case IR::Opcode::ImageSampleExplicitLod:
|
|
||||||
case IR::Opcode::ImageSampleDrefImplicitLod:
|
|
||||||
case IR::Opcode::ImageSampleDrefExplicitLod:
|
|
||||||
case IR::Opcode::ImageGather:
|
case IR::Opcode::ImageGather:
|
||||||
case IR::Opcode::ImageGatherDref:
|
case IR::Opcode::ImageGatherDref:
|
||||||
case IR::Opcode::ImageFetch:
|
case IR::Opcode::ImageFetch:
|
||||||
|
@ -520,6 +516,10 @@ void VisitUsages(Info& info, IR::Inst& inst) {
|
||||||
inst.GetAssociatedPseudoOperation(IR::Opcode::GetSparseFromOp) != nullptr;
|
inst.GetAssociatedPseudoOperation(IR::Opcode::GetSparseFromOp) != nullptr;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case IR::Opcode::ImageSampleImplicitLod:
|
||||||
|
case IR::Opcode::ImageSampleExplicitLod:
|
||||||
|
case IR::Opcode::ImageSampleDrefImplicitLod:
|
||||||
|
case IR::Opcode::ImageSampleDrefExplicitLod:
|
||||||
case IR::Opcode::ImageQueryLod: {
|
case IR::Opcode::ImageQueryLod: {
|
||||||
const auto flags{inst.Flags<IR::TextureInstInfo>()};
|
const auto flags{inst.Flags<IR::TextureInstInfo>()};
|
||||||
const TextureType type{flags.type};
|
const TextureType type{flags.type};
|
||||||
|
|
Loading…
Reference in a new issue