mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-27 16:02:37 +00:00
shader: decode the SHARED_LIMIT and PRIVATE_LIMIT inline constants
Co-authored-by: Senaxx <michelbeld@gmail.com>
This commit is contained in:
1 parent
3c62269751
commit
025d1f7edf
4 files changed
+37
-11
No files matched your search
@@ -22872,6 +22872,23 @@ TestCase Rdna2ScalarOpcodes() {
|
||||
O::S_SLEEP, O::V_MOV_B32, O::BUFFER_STORE_DWORD, O::S_ENDPGM}};
|
||||
}
|
||||
|
||||
TestCase ScalarApertureLimits() {
|
||||
using O = ShaderOpcode;
|
||||
|
||||
std::vector<u32> code;
|
||||
code.push_back(EncodeSop1(0x04, 20, 236));
|
||||
AppendStoreSgprPair(&code, 20, 0);
|
||||
code.push_back(EncodeSop1(0x04, 20, 238));
|
||||
AppendStoreSgprPair(&code, 20, 2);
|
||||
AppendEnd(&code);
|
||||
|
||||
return {"ScalarApertureLimits",
|
||||
code,
|
||||
{},
|
||||
{0xffffffffu, 0x80000000u, 0xffffffffu, 0x70000000u},
|
||||
{O::S_MOV_B64, O::V_MOV_B32, O::BUFFER_STORE_DWORD, O::S_ENDPGM}};
|
||||
}
|
||||
|
||||
TestCase ScalarTrapDisabledFallsThroughExactRaw() {
|
||||
using O = ShaderOpcode;
|
||||
|
||||
@@ -44346,6 +44363,7 @@ std::vector<TestCase> MakeCases() {
|
||||
AddCase(ExactPushConstantExtent);
|
||||
AddCase(ScalarShiftCountsMaskLowBits);
|
||||
AddCase(Rdna2ScalarOpcodes);
|
||||
AddCase(ScalarApertureLimits);
|
||||
AddCase(ScalarTrapDisabledFallsThroughExactRaw);
|
||||
AddCase(ScalarWaitcntDepctrCapturedVmVsrc);
|
||||
AddCase(ScalarExtendedArithmetic);
|
||||
|
||||
Reference in new issue
Block a user