maxwell: Add RenderTargetFormat enum.
This commit is contained in:
parent
1a9df83535
commit
94c70693f9
|
@ -11,6 +11,7 @@
|
||||||
#include "common/bit_field.h"
|
#include "common/bit_field.h"
|
||||||
#include "common/common_funcs.h"
|
#include "common/common_funcs.h"
|
||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
|
#include "video_core/gpu.h"
|
||||||
#include "video_core/memory_manager.h"
|
#include "video_core/memory_manager.h"
|
||||||
#include "video_core/textures/texture.h"
|
#include "video_core/textures/texture.h"
|
||||||
|
|
||||||
|
@ -167,9 +168,9 @@ public:
|
||||||
struct {
|
struct {
|
||||||
u32 address_high;
|
u32 address_high;
|
||||||
u32 address_low;
|
u32 address_low;
|
||||||
u32 horiz;
|
u32 width;
|
||||||
u32 vert;
|
u32 height;
|
||||||
u32 format;
|
Tegra::RenderTargetFormat format;
|
||||||
u32 block_dimensions;
|
u32 block_dimensions;
|
||||||
u32 array_mode;
|
u32 array_mode;
|
||||||
u32 layer_stride;
|
u32 layer_stride;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace Tegra {
|
namespace Tegra {
|
||||||
|
|
||||||
enum class RenderTargetFormat {
|
enum class RenderTargetFormat : u32 {
|
||||||
RGBA8_UNORM = 0xD5,
|
RGBA8_UNORM = 0xD5,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue