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
12// Tests behavior when vertex attributes have a 0 stride.
13class CombinerTests : public TestSuite {
14 public:
15 CombinerTests(TestHost& host, std::string output_dir, const Config& config);
16 void Initialize() override;
17 void Deinitialize() override;
18
19 private:
20 void CreateGeometry();
21 void TestMux();
22 void TestCombinerIndependence();
23 void TestCombinerColorAlphaIndependence();
24 void TestFlags();
25
26 private:
27 std::shared_ptr<VertexBuffer> vertex_buffers_[6];
28};
29
30#endif // NXDK_PGRAPH_TESTS_COMBINER_TESTS_H
Definition combiner_tests.h:13
void Initialize() override
Called to initialize the test suite.
Definition combiner_tests.cpp:22
void Deinitialize() override
Called to tear down the test suite.
Definition combiner_tests.cpp:31
Definition test_host.h:47
Definition test_suite.h:20
Definition vertex_buffer.h:204
Runtime configuration for TestSuites.
Definition test_suite.h:23