mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-09 02:00:16 +01:00
A quick test on global memory cbuf tracker
This commit is contained in:
parent
b8d9f44421
commit
dfe0b7e7c7
6 changed files with 34 additions and 17 deletions
|
|
@ -633,7 +633,7 @@ std::string EmitContext::DefineGlobalMemoryFunctions() {
|
|||
std::string load_func_128{"uvec4 LoadGlobal128(uint64_t addr){"};
|
||||
const size_t num_buffers{info.storage_buffers_descriptors.size()};
|
||||
for (size_t index = 0; index < num_buffers; ++index) {
|
||||
if (!info.nvn_buffer_used[index]) {
|
||||
if (!info.storage_buffers_descriptors[index].is_global_fallback) {
|
||||
continue;
|
||||
}
|
||||
define_body(write_func, index, "{0}[uint(addr-{1})>>2]=data;return;}}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue