nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
depth_format_fixed_function_tests.h
1#ifndef NXDK_PGRAPH_TESTS_DEPTH_FORMAT_FIXED_FUNCTION_TESTS_H
2#define NXDK_PGRAPH_TESTS_DEPTH_FORMAT_FIXED_FUNCTION_TESTS_H
3
4#include <cstdint>
5#include <memory>
6#include <string>
7
8#include "test_suite.h"
9
10class TestHost;
11
13 public:
14 struct DepthFormat {
15 uint32_t format;
16 uint32_t max_depth;
17 bool floating_point{false};
18 };
19
20 public:
21 DepthFormatFixedFunctionTests(TestHost &host, std::string output_dir, const Config &config);
22
23 void Initialize() override;
24
25 private:
26 void CreateGeometry();
27 void Test(const DepthFormat &format, bool compress_z, uint32_t depth_cutoff);
28
29 static std::string MakeTestName(const DepthFormat &format, bool compress_z, uint32_t depth_cutoff);
30};
31
32#endif // NXDK_PGRAPH_TESTS_DEPTH_FORMAT_FIXED_FUNCTION_TESTS_H
Definition depth_format_fixed_function_tests.h:12
void Initialize() override
Called to initialize the test suite.
Definition depth_format_fixed_function_tests.cpp:50
Definition test_host.h:47
Definition test_suite.h:20
Definition depth_format_fixed_function_tests.h:14
Runtime configuration for TestSuites.
Definition test_suite.h:23