mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-22 03:46:53 +02:00
shader: emit constant-true guarded blocks inline and fold immediate constant-buffer indices
This commit is contained in:
@@ -10532,6 +10532,7 @@ void TestComputeDispatchWaveSize() {
|
||||
|
||||
void TestNewShaderRecompilerBufferLoadsGuardedByExec() {
|
||||
const uint32_t shader[] = {
|
||||
EncodeVopc(0xd4, 0 + 256, 1), // v_cmpx_gt_u32 v0, v1
|
||||
EncodeMubuf0(0x0c),
|
||||
EncodeMubuf1(0, 0, 1), // buffer_load_dword
|
||||
// v0
|
||||
|
||||
Reference in New Issue
Block a user