mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
shader: support RDNA2 BVH64 ray intersections with shared traversal
This commit is contained in:
@@ -33248,6 +33248,7 @@ std::vector<TestCase> MakeCases() {
|
||||
cases.push_back(FlatStackApertures(32));
|
||||
cases.push_back(FlatStackApertures(64));
|
||||
cases.push_back(BvhIntersections(true, true, 1));
|
||||
cases.push_back(BvhIntersections(true, true, 0, true));
|
||||
for (bool barycentrics : {false, true}) {
|
||||
for (bool sorted : {false, true}) {
|
||||
cases.push_back(BvhIntersections(barycentrics, sorted));
|
||||
@@ -38481,6 +38482,7 @@ int main(int argc, char **argv) {
|
||||
RunCase(&vulkan, FlatStackApertures(32));
|
||||
RunCase(&vulkan, FlatStackApertures(64));
|
||||
RunCase(&vulkan, BvhIntersections(true, true, 1));
|
||||
RunCase(&vulkan, BvhIntersections(true, true, 0, true));
|
||||
for (bool barycentrics : {false, true}) {
|
||||
for (bool sorted : {false, true}) {
|
||||
RunCase(&vulkan, BvhIntersections(barycentrics, sorted));
|
||||
|
||||
Reference in New Issue
Block a user