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;
10class VertexBuffer;
11
14class CombinerTests : public TestSuite {
15 public:
16 CombinerTests(TestHost& host, std::string output_dir, const Config& config);
17 void Initialize() override;
18 void Deinitialize() override;
19
20 private:
21 void CreateGeometry();
22 void TestMux();
23 void TestCombinerIndependence();
24 void TestCombinerColorAlphaIndependence();
25 void TestFlags();
26 void TestUnboundTexture();
27 void TestUnboundTextureSamplers();
28
29 void TestAlphaFromBlue();
30 void TestCombinerOps();
31 void TestFinalCombinerSpecialInputs();
32
33 private:
34 std::shared_ptr<VertexBuffer> vertex_buffers_[6];
35};
36
37#endif // NXDK_PGRAPH_TESTS_COMBINER_TESTS_H
Definition combiner_tests.h:14
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:48
Definition test_suite.h:20
Definition vertex_buffer.h:204
Runtime configuration for TestSuites.
Definition test_suite.h:23