[SPIR-V] Fix SetTextureLOD
This commit is contained in:
parent
303539af22
commit
d914791afe
|
@ -1923,7 +1923,7 @@ void SpirvShaderTranslator::ProcessTextureFetchInstruction(
|
||||||
// <lod register> = src1.x (MIP level)
|
// <lod register> = src1.x (MIP level)
|
||||||
// ... immediately after
|
// ... immediately after
|
||||||
// tfetch UseRegisterLOD=true
|
// tfetch UseRegisterLOD=true
|
||||||
b.createStore(b.createCompositeExtract(src, float_type_, 0), lod_);
|
b.createStore(src, lod_);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue