From d914791afea408f9e000e3fc5b4b83f218a67772 Mon Sep 17 00:00:00 2001 From: DrChat Date: Sat, 14 Apr 2018 15:39:48 -0500 Subject: [PATCH] [SPIR-V] Fix SetTextureLOD --- src/xenia/gpu/spirv_shader_translator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/spirv_shader_translator.cc b/src/xenia/gpu/spirv_shader_translator.cc index a4aa4245b..6fd80c26e 100644 --- a/src/xenia/gpu/spirv_shader_translator.cc +++ b/src/xenia/gpu/spirv_shader_translator.cc @@ -1923,7 +1923,7 @@ void SpirvShaderTranslator::ProcessTextureFetchInstruction( // = src1.x (MIP level) // ... immediately after // tfetch UseRegisterLOD=true - b.createStore(b.createCompositeExtract(src, float_type_, 0), lod_); + b.createStore(src, lod_); } break; default: