nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
texture_signed_component_tests.h
1#ifndef NXDK_PGRAPH_TESTS_TEXTURE_SIGNED_COMPONENT_TESTS_H
2#define NXDK_PGRAPH_TESTS_TEXTURE_SIGNED_COMPONENT_TESTS_H
3
4#include <string>
5
6#include "test_host.h"
7#include "test_suite.h"
8
9namespace PBKitPlusPlus {
10struct TextureFormatInfo;
11}
12
13using namespace PBKitPlusPlus;
14
16 public:
17 TextureSignedComponentTests(TestHost &host, std::string output_dir, const Config &config);
18
19 void Initialize() override;
20
21 private:
22 void CreateGeometry();
23
24 void Test(const TextureFormatInfo &texture_format, uint32_t signed_flags, const std::string &test_name);
25 void TestGradients(const std::string &name, const TextureFormatInfo &texture_format, uint32_t blend_op);
26
27 static std::string MakeTestName(const TextureFormatInfo &texture_format, uint32_t signed_flags);
28};
29
30#endif // NXDK_PGRAPH_TESTS_TEXTURE_SIGNED_COMPONENT_TESTS_H
Definition test_host.h:33
Definition test_suite.h:20
Definition texture_signed_component_tests.h:15
void Initialize() override
Called to initialize the test suite.
Definition texture_signed_component_tests.cpp:55
Runtime configuration for TestSuites.
Definition test_suite.h:23