test(agc): skip the clip and cull distance draw without a Vulkan device
This commit is contained in:
parent
8299b2f7eb
commit
4a4bea9d1b
|
|
@ -5,6 +5,7 @@
|
|||
#include "prx/libSceAgcDriver/Submit/include/Dcb.hpp"
|
||||
#include "prx/libc/include/GuestArena.hpp"
|
||||
#include "prx/libc/include/GuestWriteWatch.hpp"
|
||||
#include "VulkanTestDevice.hpp"
|
||||
#ifdef _WIN32
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
|
|
@ -209,6 +210,10 @@ int main(int argc, char** argv) {
|
|||
const bool noKey = argc > 1 && std::string(argv[1]) == "no-key";
|
||||
if (noKey) Require(std::getenv("APS5_NO_DRAW_KEY") != nullptr, "the no-key run must start with APS5_NO_DRAW_KEY set");
|
||||
PositionExportLayoutTests();
|
||||
{
|
||||
const auto device = OpenVulkanTestDevice();
|
||||
if (!device) return VulkanTestSkipped;
|
||||
}
|
||||
ColorMemory = AllocateWatched(2 * Block);
|
||||
Register(VertexShader, VertexCode.data(), sizeof(VertexCode), 2);
|
||||
Register(PixelShader, PixelCode.data(), sizeof(PixelCode), 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue