diff options
| author | 2019-11-06 04:54:11 +0000 | |
|---|---|---|
| committer | 2019-11-06 04:54:11 +0000 | |
| commit | 654b77d2ec372bd986d472da7491d0156d0af52e (patch) | |
| tree | 163ac38e64ed94bdcf3a4ee3c50816c6882cc138 /src/video_core/textures | |
| parent | Merge pull request #3073 from DarkLordZach/azure-rename-partial (diff) | |
| parent | shader/node: Unpack bindless texture encoding (diff) | |
| download | yuzu-654b77d2ec372bd986d472da7491d0156d0af52e.tar.gz yuzu-654b77d2ec372bd986d472da7491d0156d0af52e.tar.xz yuzu-654b77d2ec372bd986d472da7491d0156d0af52e.zip | |
Merge pull request #3039 from ReinUsesLisp/cleanup-samplers
shader/node: Unpack bindless texture encoding
Diffstat (limited to 'src/video_core/textures')
| -rw-r--r-- | src/video_core/textures/texture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index 0429af9c1..27c8ce975 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h | |||
| @@ -132,6 +132,8 @@ enum class SwizzleSource : u32 { | |||
| 132 | }; | 132 | }; |
| 133 | 133 | ||
| 134 | union TextureHandle { | 134 | union TextureHandle { |
| 135 | TextureHandle(u32 raw) : raw{raw} {} | ||
| 136 | |||
| 135 | u32 raw; | 137 | u32 raw; |
| 136 | BitField<0, 20, u32> tic_id; | 138 | BitField<0, 20, u32> tic_id; |
| 137 | BitField<20, 12, u32> tsc_id; | 139 | BitField<20, 12, u32> tsc_id; |