Submit an execution on invalidate{Sampler,TextureHeader}Cache accesses

This commit is contained in:
Billy Laws 2023-02-20 17:49:10 +00:00
parent 6ce5202b8e
commit acf118155d
2 changed files with 10 additions and 2 deletions

View file

@ -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, { \

View file

@ -182,8 +182,8 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
Register<0x458, std::array<type::VertexAttribute, type::VertexAttributeCount>> vertexAttributes;
Register<0x484, u32> invalidateSamplerCacheAll;
Register<0x485, u32> invalidateTextureHeaderCacheAll;
Register<0x483, u32> invalidateSamplerCacheAll;
Register<0x484, u32> invalidateTextureHeaderCacheAll;
struct DrawVertexArrayBeginEndInstance {
u16 startIndex;