nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
wbuf_tests.h
1#ifndef NXDK_PGRAPH_TESTS_WBUF_TESTS_H
2#define NXDK_PGRAPH_TESTS_WBUF_TESTS_H
3
4#include "test_suite.h"
5
6class TestHost;
7
8class WBufTests : public TestSuite {
9 public:
10 WBufTests(TestHost &host, std::string output_dir, const Config &config);
11
12 void Initialize() override;
13 void Deinitialize() override;
14
15 private:
16 template <typename Func>
17 void Test(int depthf, bool zbias, bool zslope, bool vsh, const char *prim_name, Func draw_prim,
18 uint32_t clip_left = 150, uint32_t clip_top = 0);
19};
20
21#endif // NXDK_PGRAPH_TESTS_WBUF_TESTS_H
Definition test_host.h:33
Definition test_suite.h:21
Definition wbuf_tests.h:8
void Deinitialize() override
Called to tear down the test suite.
Definition wbuf_tests.cpp:402
void Initialize() override
Called to initialize the test suite.
Definition wbuf_tests.cpp:400
Runtime configuration for TestSuites.
Definition test_suite.h:24