diff options
| author | 2020-05-09 05:28:55 -0300 | |
|---|---|---|
| committer | 2020-05-09 05:28:55 -0300 | |
| commit | 7e376af8fcd60baaa127b459e83bf716067be233 (patch) | |
| tree | 074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/surface.cpp | |
| parent | Merge pull request #3842 from makigumo/maxwell_to_vk_vertexattribute_signed_int (diff) | |
| parent | texture: Implement R8G8UI (diff) | |
| download | yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.gz yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.xz yuzu-7e376af8fcd60baaa127b459e83bf716067be233.zip | |
Merge pull request #3839 from Morph1984/r8g8ui
texture: Implement R8G8UI
Diffstat (limited to 'src/video_core/surface.cpp')
| -rw-r--r-- | src/video_core/surface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index cc7181229..bbe93903c 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -145,6 +145,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) | |||
| 145 | return PixelFormat::RG8U; | 145 | return PixelFormat::RG8U; |
| 146 | case Tegra::RenderTargetFormat::RG8_SNORM: | 146 | case Tegra::RenderTargetFormat::RG8_SNORM: |
| 147 | return PixelFormat::RG8S; | 147 | return PixelFormat::RG8S; |
| 148 | case Tegra::RenderTargetFormat::RG8_UINT: | ||
| 149 | return PixelFormat::RG8UI; | ||
| 148 | case Tegra::RenderTargetFormat::R16_FLOAT: | 150 | case Tegra::RenderTargetFormat::R16_FLOAT: |
| 149 | return PixelFormat::R16F; | 151 | return PixelFormat::R16F; |
| 150 | case Tegra::RenderTargetFormat::R16_UNORM: | 152 | case Tegra::RenderTargetFormat::R16_UNORM: |