summaryrefslogtreecommitdiff
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2019-11-06 04:54:11 +0000
committerGravatar GitHub2019-11-06 04:54:11 +0000
commit654b77d2ec372bd986d472da7491d0156d0af52e (patch)
tree163ac38e64ed94bdcf3a4ee3c50816c6882cc138 /src/video_core/textures
parentMerge pull request #3073 from DarkLordZach/azure-rename-partial (diff)
parentshader/node: Unpack bindless texture encoding (diff)
downloadyuzu-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.h2
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
134union TextureHandle { 134union 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;