Stubbed color format.
This commit is contained in:
parent
6edf4f898f
commit
58324352ae
|
@ -139,6 +139,8 @@ enum class ColorFormat : uint32_t {
|
|||
k_32_32_FLOAT = 37,
|
||||
k_32_32_32_32_FLOAT = 38,
|
||||
k_2_10_10_10_FLOAT = 62,
|
||||
|
||||
kUnknown0x36 = 0x36, // not sure, but like 8888
|
||||
};
|
||||
|
||||
enum class VertexFormat : uint32_t {
|
||||
|
|
|
@ -306,7 +306,8 @@ void VdSwap(lpvoid_t buffer_ptr, // ptr into primary ringbuffer
|
|||
|
||||
auto color_format = gpu::xenos::ColorFormat(color_format_ptr.value());
|
||||
auto color_space = *color_space_ptr;
|
||||
assert_true(color_format == gpu::xenos::ColorFormat::k_8_8_8_8);
|
||||
assert_true(color_format == gpu::xenos::ColorFormat::k_8_8_8_8 ||
|
||||
color_format == gpu::xenos::ColorFormat::kUnknown0x36);
|
||||
assert_true(color_space == 0);
|
||||
assert_true(*frontbuffer_ptr == fetch.address << 12);
|
||||
assert_true(last_frontbuffer_width_ == 1 + fetch.size_2d.width);
|
||||
|
|
Loading…
Reference in New Issue