diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-24 05:45:24 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:16:49 +0200 |
commit | 94c70693f941484c40fae7c321ef9f3d866de684 (patch) | |
tree | 902352126cae1abbfe63c4bad65a173d9b98baf0 | |
parent | renderer_opengl: Only draw the screen if a framebuffer is specified. (diff) | |
download | yuzu-94c70693f941484c40fae7c321ef9f3d866de684.tar yuzu-94c70693f941484c40fae7c321ef9f3d866de684.tar.gz yuzu-94c70693f941484c40fae7c321ef9f3d866de684.tar.bz2 yuzu-94c70693f941484c40fae7c321ef9f3d866de684.tar.lz yuzu-94c70693f941484c40fae7c321ef9f3d866de684.tar.xz yuzu-94c70693f941484c40fae7c321ef9f3d866de684.tar.zst yuzu-94c70693f941484c40fae7c321ef9f3d866de684.zip |
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 7 | ||||
-rw-r--r-- | src/video_core/gpu.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 8e2d888e7..3c49cd27f 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -11,6 +11,7 @@ #include "common/bit_field.h" #include "common/common_funcs.h" #include "common/common_types.h" +#include "video_core/gpu.h" #include "video_core/memory_manager.h" #include "video_core/textures/texture.h" @@ -167,9 +168,9 @@ public: struct { u32 address_high; u32 address_low; - u32 horiz; - u32 vert; - u32 format; + u32 width; + u32 height; + Tegra::RenderTargetFormat format; u32 block_dimensions; u32 array_mode; u32 layer_stride; diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 8183b12e9..ab24504a6 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -13,7 +13,7 @@ namespace Tegra { -enum class RenderTargetFormat { +enum class RenderTargetFormat : u32 { RGBA8_UNORM = 0xD5, }; |