nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
w_param_tests.h
1#ifndef NXDK_PGRAPH_TESTS_INF_TESTS_H
2#define NXDK_PGRAPH_TESTS_INF_TESTS_H
3
4#include "test_suite.h"
5
6class TestHost;
7class VertexBuffer;
8
9class WParamTests : public TestSuite {
10 public:
11 WParamTests(TestHost& host, std::string output_dir, const Config& config);
12
13 void Initialize() override;
14 void Deinitialize() override;
15
16 private:
17 void CreateGeometryWGaps();
18 void TestWGaps(bool texture_perspective_enable);
19
20 void CreateGeometryPositiveWTriangleStrip();
21 void TestPositiveWTriangleStrip(bool texture_perspective_enable);
22
23 void CreateGeometryNegativeWTriangleStrip();
24 void TestNegativeWTriangleStrip(bool texture_perspective_enable);
25
26 void TestFixedFunctionZeroW(bool draw_quad, bool texture_perspective_enable);
27
28 private:
29 std::shared_ptr<VertexBuffer> triangle_strip_;
30 std::shared_ptr<VertexBuffer> triangles_;
31};
32
33#endif // NXDK_PGRAPH_TESTS_INF_TESTS_H
Definition test_host.h:47
Definition test_suite.h:20
Definition vertex_buffer.h:204
Definition w_param_tests.h:9
void Initialize() override
Called to initialize the test suite.
Definition w_param_tests.cpp:50
void Deinitialize() override
Called to tear down the test suite.
Definition w_param_tests.cpp:56
Runtime configuration for TestSuites.
Definition test_suite.h:23