nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
overlapping_draw_modes_tests.h
1#ifndef NXDK_PGRAPH_TESTS_OVERLAPPING_DRAW_MODES_TESTS_H
2#define NXDK_PGRAPH_TESTS_OVERLAPPING_DRAW_MODES_TESTS_H
3
4#include <memory>
5#include <vector>
6
7#include "test_host.h"
8#include "test_suite.h"
9
10// Tests behavior when vertex attributes are not provided but are used by shaders.
12 public:
13 OverlappingDrawModesTests(TestHost& host, std::string output_dir, const Config& config);
14
15 void Initialize() override;
16
17 private:
18 void CreateTriangles();
19 void CreateTriangleStrip();
20
21 void TestArrayElementDrawArrayArrayElement();
22 void TestDrawArrayDrawArray();
23 void TestXemuSquashOptimization();
24 void TestXemuSquashOptimizationSingleDrawArrays();
25
26 private:
27 std::vector<uint32_t> index_buffer_;
28};
29
30#endif // NXDK_PGRAPH_TESTS_OVERLAPPING_DRAW_MODES_TESTS_H
Definition overlapping_draw_modes_tests.h:11
void Initialize() override
Called to initialize the test suite.
Definition overlapping_draw_modes_tests.cpp:26
Definition test_host.h:33
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23