nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
FogInfiniteFogCoordinateTests Class Reference
Inheritance diagram for FogInfiniteFogCoordinateTests:
Collaboration diagram for FogInfiniteFogCoordinateTests:

Public Member Functions

 FogInfiniteFogCoordinateTests (TestHost &host, std::string output_dir, const Config &config)
 
void Initialize () override
 Called to initialize the test suite.
 
- Public Member Functions inherited from FogCustomShaderTests
 FogCustomShaderTests (TestHost &host, std::string output_dir, const Config &config, std::string suite_name="Fog vsh")
 
- Public Member Functions inherited from FogTests
 FogTests (TestHost &host, std::string output_dir, const Config &config, std::string suite_name="Fog")
 
void Initialize () override
 Called to initialize the test suite.
 
void Deinitialize () override
 Called to tear down the test suite.
 
- Public Member Functions inherited from TestSuite
 TestSuite (TestHost &host, std::string output_dir, std::string suite_name, const Config &config)
 
const std::string & Name () const
 
virtual void SetupTest ()
 Called before running an individual test within this suite.
 
virtual void TearDownTest ()
 Called after running an individual test within this suite.
 
void DisableTests (const std::set< std::string > &tests_to_skip)
 
std::vector< std::string > TestNames () const
 
bool HasEnabledTests () const
 
void Run (const std::string &test_name)
 
void RunAll ()
 
void SetSavingAllowed (bool enable=true)
 

Additional Inherited Members

- Public Types inherited from FogTests
enum  FogMode {
  FOG_LINEAR = NV097_SET_FOG_MODE_V_LINEAR , FOG_EXP = NV097_SET_FOG_MODE_V_EXP , FOG_EXP2 = NV097_SET_FOG_MODE_V_EXP2 , FOG_EXP_ABS = NV097_SET_FOG_MODE_V_EXP_ABS ,
  FOG_EXP2_ABS = NV097_SET_FOG_MODE_V_EXP2_ABS , FOG_LINEAR_ABS = NV097_SET_FOG_MODE_V_LINEAR_ABS
}
 
enum  FogGenMode {
  FOG_GEN_SPEC_ALPHA = NV097_SET_FOG_GEN_MODE_V_SPEC_ALPHA , FOG_GEN_RADIAL = NV097_SET_FOG_GEN_MODE_V_RADIAL , FOG_GEN_PLANAR = NV097_SET_FOG_GEN_MODE_V_PLANAR , FOG_GEN_ABS_PLANAR = NV097_SET_FOG_GEN_MODE_V_ABS_PLANAR ,
  FOG_GEN_FOG_X = NV097_SET_FOG_GEN_MODE_V_FOG_X
}
 
- Static Public Member Functions inherited from TestSuite
static void TagNV2ATrace (uint32_t num_nops)
 Inserts a pattern of NV097_NO_OPERATION's into the pushbuffer to allow identification when viewing nv2a traces.
 
- Protected Member Functions inherited from FogTests
virtual void CreateGeometry ()
 
void Test (FogMode fog_mode, FogGenMode gen_mode, uint32_t fog_alpha)
 
- Protected Member Functions inherited from TestSuite
void SetDefaultTextureFormat () const
 
- Static Protected Member Functions inherited from FogTests
static std::string MakeTestName (FogMode fog_mode, FogGenMode gen_mode, uint32_t fog_alpha)
 
- Protected Attributes inherited from FogTests
std::shared_ptr< VertexBuffervertex_buffer_
 
- Protected Attributes inherited from TestSuite
TestHosthost_
 
std::string output_dir_
 
std::string suite_name_
 
bool allow_saving_ {true}
 
std::map< std::string, std::function< void()> > tests_ {}
 
PGRAPHDiffToken pgraph_diff_
 
bool enable_progress_log_
 
bool enable_pgraph_region_diff_
 
uint32_t delay_milliseconds_between_tests_
 
std::shared_ptr< FTPLoggerftp_logger_
 

Member Function Documentation

◆ Initialize()

void FogInfiniteFogCoordinateTests::Initialize ( )
overridevirtual

Called to initialize the test suite.

Reimplemented from FogCustomShaderTests.


The documentation for this class was generated from the following files: