mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 00:35:28 +03:00
Submit an execution on invalidate{Sampler,TextureHeader}Cache accesses
This commit is contained in:
parent
6ce5202b8e
commit
acf118155d
@ -384,6 +384,14 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
|
|||||||
registers.raw[0xD00] = 1;
|
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
|
// 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_) \
|
#define LOAD_CONSTANT_BUFFER_CALLBACKS(z, index, data_) \
|
||||||
ENGINE_STRUCT_ARRAY_CASE(loadConstantBuffer, data, index, { \
|
ENGINE_STRUCT_ARRAY_CASE(loadConstantBuffer, data, index, { \
|
||||||
|
@ -182,8 +182,8 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
|
|||||||
|
|
||||||
Register<0x458, std::array<type::VertexAttribute, type::VertexAttributeCount>> vertexAttributes;
|
Register<0x458, std::array<type::VertexAttribute, type::VertexAttributeCount>> vertexAttributes;
|
||||||
|
|
||||||
Register<0x484, u32> invalidateSamplerCacheAll;
|
Register<0x483, u32> invalidateSamplerCacheAll;
|
||||||
Register<0x485, u32> invalidateTextureHeaderCacheAll;
|
Register<0x484, u32> invalidateTextureHeaderCacheAll;
|
||||||
|
|
||||||
struct DrawVertexArrayBeginEndInstance {
|
struct DrawVertexArrayBeginEndInstance {
|
||||||
u16 startIndex;
|
u16 startIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user