Commit 6f1b765a by Chris Forbes

Set correct variant for OpImageFetch

Fixes interaction with ImageInstruction rework in previous patch Bug: b/129523279 Test: dEQP-VK.image.* Change-Id: I3c0ff7d4497f95f67dc9fc08ad8793f81f7c5f2c Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/30228Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 5b09dd10
...@@ -4504,7 +4504,7 @@ namespace sw ...@@ -4504,7 +4504,7 @@ namespace sw
SpirvShader::EmitResult SpirvShader::EmitImageFetch(InsnIterator insn, EmitState *state) const SpirvShader::EmitResult SpirvShader::EmitImageFetch(InsnIterator insn, EmitState *state) const
{ {
return EmitImageSample({Fetch}, insn, state); return EmitImageSample({None, Fetch}, insn, state);
} }
SpirvShader::EmitResult SpirvShader::EmitImageSample(ImageInstruction instruction, InsnIterator insn, EmitState *state) const SpirvShader::EmitResult SpirvShader::EmitImageSample(ImageInstruction instruction, InsnIterator insn, EmitState *state) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment