nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
smoothing_tests.h
1#pragma once
2
3#include <memory>
4#include <string>
5#include <vector>
6
7#include "test_host.h"
8#include "test_suite.h"
9#include "vertex_buffer.h"
10
11// Tests behavior when lighting is enabled and color components are requested from various sources.
12class SmoothingTests : public TestSuite {
13 public:
14 enum DrawMode {
15 DRAW_ARRAYS,
16 DRAW_INLINE_BUFFERS,
17 DRAW_INLINE_ARRAYS,
18 DRAW_INLINE_ELEMENTS,
19 };
20
21 public:
22 SmoothingTests(TestHost& host, std::string output_dir, const Config& config);
23 void Initialize() override;
24
25 private:
26 void Test(const std::string& name, uint32_t smooth_control);
27};
Definition smoothing_tests.h:12
void Initialize() override
Called to initialize the test suite.
Definition smoothing_tests.cpp:31
Definition test_host.h:33
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23