nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
depth_clamp_tests.h
1#ifndef NXDK_PGRAPH_TESTS_DEPTH_CLAMP_TESTS_H
2#define NXDK_PGRAPH_TESTS_DEPTH_CLAMP_TESTS_H
3
4#include "test_suite.h"
5
6class TestHost;
7
8namespace PBKitPlusPlus {
9class VertexBuffer;
10}
11
12class DepthClampTests : public TestSuite {
13 public:
14 DepthClampTests(TestHost &host, std::string output_dir, const Config &config);
15
16 void Initialize() override;
17 void Deinitialize() override;
18
19 private:
20 void Test(bool w_buffered, bool clamp, bool zbias, bool full_range, bool vsh);
21 void TestEqualDepth(bool w_buffered, float ofs);
22};
23
24#endif // NXDK_PGRAPH_TESTS_DEPTH_CLAMP_TESTS_H
Definition depth_clamp_tests.h:12
void Deinitialize() override
Called to tear down the test suite.
Definition depth_clamp_tests.cpp:54
void Initialize() override
Called to initialize the test suite.
Definition depth_clamp_tests.cpp:52
Definition test_host.h:33
Definition test_suite.h:21
Runtime configuration for TestSuites.
Definition test_suite.h:24