diff options
author | Feng Chen <vonchenplus@gmail.com> | 2023-01-05 05:27:41 +0100 |
---|---|---|
committer | Feng Chen <vonchenplus@gmail.com> | 2023-01-05 05:41:28 +0100 |
commit | 1e8cee2ddfeb87d4501f66197625a31c09b57e48 (patch) | |
tree | 1a0a5c62497e765222354825bdea05b54398747e /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #9501 from FernandoS27/yfc-rel-2 (diff) | |
download | yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.gz yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.bz2 yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.lz yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.xz yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.tar.zst yuzu-1e8cee2ddfeb87d4501f66197625a31c09b57e48.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 0b2fd2928..c89969bb4 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1599,6 +1599,20 @@ public: }; static_assert(sizeof(TIRModulationCoeff) == 0x4); + struct DrawTexture { + s32 dst_x0; + s32 dst_y0; + s32 dst_width; + s32 dst_height; + s64 dx_du; + s64 dy_dv; + u32 src_sampler; + u32 src_texture; + s32 src_x0; + s32 src_y0; + }; + static_assert(sizeof(DrawTexture) == 0x30); + struct ReduceColorThreshold { union { BitField<0, 8, u32> all_hit_once; @@ -2751,7 +2765,7 @@ public: u32 reserved_sw_method2; ///< 0x102C std::array<TIRModulationCoeff, 5> tir_modulation_coeff; ///< 0x1030 std::array<u32, 15> spare_nop; ///< 0x1044 - INSERT_PADDING_BYTES_NOINIT(0x30); + DrawTexture draw_texture; ///< 0x1080 std::array<u32, 7> reserved_sw_method3_to_7; ///< 0x10B0 ReduceColorThreshold reduce_color_thresholds_unorm8; ///< 0x10CC std::array<u32, 4> reserved_sw_method10_to_13; ///< 0x10D0 |