[SPIR-V] Fix SetTextureLOD

This commit is contained in:
DrChat 2018-04-14 15:39:48 -05:00
parent 303539af22
commit d914791afe
1 changed files with 1 additions and 1 deletions

View File

@ -1923,7 +1923,7 @@ void SpirvShaderTranslator::ProcessTextureFetchInstruction(
// <lod register> = src1.x (MIP level)
// ... immediately after
// tfetch UseRegisterLOD=true
b.createStore(b.createCompositeExtract(src, float_type_, 0), lod_);
b.createStore(src, lod_);
} break;
default: