mirror of
https://github.com/xemu-project/nxdk_pgraph_tests.git
synced 2024-11-23 01:59:55 +00:00
Reenables z24s8 tests. (#116)
This commit is contained in:
parent
5e8e998f6c
commit
4b7934e6d6
@ -10,7 +10,7 @@
|
||||
#include "vertex_buffer.h"
|
||||
|
||||
static constexpr uint32_t kF16MaxFixedRepresentation = 0x0000FFFF;
|
||||
// static constexpr uint32_t kF24MaxFixedRepresentation = 0x00FEFFFF;
|
||||
static constexpr uint32_t kF24MaxFixedRepresentation = 0x00FEFFFF;
|
||||
|
||||
// Keep in sync with the value used to set up the default XDK composite matrix.
|
||||
static constexpr float kCameraZ = -7.0f;
|
||||
@ -21,9 +21,7 @@ constexpr DepthFormatFixedFunctionTests::DepthFormat kDepthFormats[] = {
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z16, 0x0000FFFF, false},
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z24S8, 0x00FFFFFF, false},
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z16, kF16MaxFixedRepresentation, true},
|
||||
|
||||
// TODO: Enable when https://github.com/mborgerson/xemu/issues/322 is resolved.
|
||||
// {NV097_SET_SURFACE_FORMAT_ZETA_Z24S8, kF24MaxFixedRepresentation, true},
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z24S8, kF24MaxFixedRepresentation, true},
|
||||
};
|
||||
|
||||
constexpr uint32_t kNumDepthTests = 4;
|
||||
|
@ -10,15 +10,13 @@
|
||||
#include "vertex_buffer.h"
|
||||
|
||||
static constexpr uint32_t kF16MaxFixedRepresentation = 0x0000FFFF;
|
||||
// static constexpr uint32_t kF24MaxFixedRepresentation = 0x00FEFFFF;
|
||||
static constexpr uint32_t kF24MaxFixedRepresentation = 0x00FEFFFF;
|
||||
|
||||
constexpr DepthFormatTests::DepthFormat kDepthFormats[] = {
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z16, 0x0000FFFF, false},
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z24S8, 0x00FFFFFF, false},
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z16, kF16MaxFixedRepresentation, true},
|
||||
|
||||
// TODO: Enable when https://github.com/mborgerson/xemu/issues/322 is resolved.
|
||||
// {NV097_SET_SURFACE_FORMAT_ZETA_Z24S8, kF24MaxFixedRepresentation, true},
|
||||
{NV097_SET_SURFACE_FORMAT_ZETA_Z24S8, kF24MaxFixedRepresentation, true},
|
||||
};
|
||||
|
||||
constexpr uint32_t kNumDepthTests = 48;
|
||||
|
Loading…
Reference in New Issue
Block a user