shader: Implement TLD
This commit is contained in:
parent
7a1c14269e
commit
dc1a9a3bed
8 changed files with 174 additions and 16 deletions
|
@ -382,6 +382,7 @@ void VisitUsages(Info& info, IR::Inst& inst) {
|
|||
case IR::Opcode::ImageSampleDrefExplicitLod:
|
||||
case IR::Opcode::ImageGather:
|
||||
case IR::Opcode::ImageGatherDref:
|
||||
case IR::Opcode::ImageFetch:
|
||||
case IR::Opcode::ImageQueryDimensions: {
|
||||
const TextureType type{inst.Flags<IR::TextureInstInfo>().type};
|
||||
info.uses_sampled_1d |= type == TextureType::Color1D || type == TextureType::ColorArray1D ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue