diff --git a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp index 791b7adf..fb492b0c 100644 --- a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp +++ b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp @@ -384,6 +384,14 @@ namespace skyline::soc::gm20b::engine::maxwell3d { registers.raw[0xD00] = 1; }) + ENGINE_CASE(invalidateSamplerCacheAll, { + channelCtx.executor.Submit(); + }) + + ENGINE_CASE(invalidateTextureHeaderCacheAll, { + channelCtx.executor.Submit(); + }) + // Begin a batch constant buffer update, this case will never be reached if a batch update is currently active #define LOAD_CONSTANT_BUFFER_CALLBACKS(z, index, data_) \ ENGINE_STRUCT_ARRAY_CASE(loadConstantBuffer, data, index, { \ diff --git a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h index c07a0ab8..0814c2fe 100644 --- a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h +++ b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h @@ -182,8 +182,8 @@ namespace skyline::soc::gm20b::engine::maxwell3d { Register<0x458, std::array> vertexAttributes; - Register<0x484, u32> invalidateSamplerCacheAll; - Register<0x485, u32> invalidateTextureHeaderCacheAll; + Register<0x483, u32> invalidateSamplerCacheAll; + Register<0x484, u32> invalidateTextureHeaderCacheAll; struct DrawVertexArrayBeginEndInstance { u16 startIndex;