mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 00:12:40 +00:00
shader: size per-thread LDS emulation by the guest LDS allocation
This commit is contained in:
1 parent
742fe17173
commit
fa8216c4d9
3 files changed
+29
-4
No files matched your search
@@ -149,6 +149,8 @@ struct ShaderVertexInputInfo {
|
||||
int buffers_num = 0;
|
||||
uint32_t wave_size = 64;
|
||||
uint32_t scratch_size_dwords = 0;
|
||||
// LDS_SIZE of the GS stage a non-NGG vertex shader runs on; usually zero.
|
||||
uint32_t lds_size_dwords = 0;
|
||||
uint32_t pa_cl_vs_out_cntl = 0;
|
||||
ShaderClipSpaceTransform clip_space;
|
||||
ShaderMeshInputInfo mesh;
|
||||
@@ -191,6 +193,8 @@ struct ShaderPixelInputInfo {
|
||||
// CB round mode per converted export: zero adds half an LSB, one truncates.
|
||||
uint8_t target_round_mode = 0;
|
||||
uint32_t scratch_size_dwords = 0;
|
||||
// EXTRA_LDS_SIZE: LDS reserved beyond the interpolants (VGPR spills to LDS).
|
||||
uint32_t lds_size_dwords = 0;
|
||||
bool ps_pos_x = false;
|
||||
bool ps_pos_y = false;
|
||||
bool ps_pos_z = false;
|
||||
|
||||
Reference in new issue
Block a user