forked from eden-emu/eden
shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loop
This commit is contained in:
parent
6533dfd7ce
commit
2a0d707ce1
3 changed files with 86 additions and 8 deletions
|
@ -325,6 +325,8 @@ public:
|
|||
Id f32x2_min_cas{};
|
||||
Id f32x2_max_cas{};
|
||||
|
||||
Id write_storage_cas_loop_func{};
|
||||
|
||||
Id load_global_func_u32{};
|
||||
Id load_global_func_u32x2{};
|
||||
Id load_global_func_u32x4{};
|
||||
|
@ -372,6 +374,7 @@ private:
|
|||
void DefineTextures(const Info& info, u32& binding, u32& scaling_index);
|
||||
void DefineImages(const Info& info, u32& binding, u32& scaling_index);
|
||||
void DefineAttributeMemAccess(const Info& info);
|
||||
void DefineWriteStorageCasLoopFunction(const Info& info);
|
||||
void DefineGlobalMemoryFunctions(const Info& info);
|
||||
void DefineRescalingInput(const Info& info);
|
||||
void DefineRescalingInputPushConstant();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue