shader: emit constant-true guarded blocks inline and fold immediate constant-buffer indices

This commit is contained in:
nmzik
2026-10-21 23:26:07 +02:00
parent ae47ac26e7
commit 0f7d112545
3 changed files with 12 additions and 3 deletions
+1
View File
@@ -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