nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
combiner_tests.h
1#ifndef NXDK_PGRAPH_TESTS_COMBINER_TESTS_H
2#define NXDK_PGRAPH_TESTS_COMBINER_TESTS_H
3
4#include <memory>
5
6#include "test_host.h"
7#include "test_suite.h"
8
9class TestHost;
10namespace PBKitPlusPlus {
11class VertexBuffer;
12}
13using namespace PBKitPlusPlus;
14
17class CombinerTests : public TestSuite {
18 public:
19 CombinerTests(TestHost& host, std::string output_dir, const Config& config);
20 void Initialize() override;
21 void Deinitialize() override;
22
23 private:
24 void CreateGeometry();
25 void TestMux();
26 void TestCombinerIndependence();
27 void TestCombinerColorAlphaIndependence();
28 void TestFlags();
29 void TestUnboundTexture();
30 void TestUnboundTextureSamplers();
31
32 void TestAlphaFromBlue();
33 void TestCombinerOps();
34 void TestFinalCombinerSpecialInputs();
35
36 private:
37 std::shared_ptr<VertexBuffer> vertex_buffers_[6];
38};
39
40#endif // NXDK_PGRAPH_TESTS_COMBINER_TESTS_H
Definition combiner_tests.h:17
void Initialize() override
Called to initialize the test suite.
Definition combiner_tests.cpp:67
void Deinitialize() override
Called to tear down the test suite.
Definition combiner_tests.cpp:76
Definition test_host.h:33
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23