diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-22 23:40:26 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-24 05:26:07 +0100 |
commit | 1dda77d392a31f3a0e7228518eab6d1166020876 (patch) | |
tree | ab46e1f92e3355e0c053a57c8ae984bf475830f2 /src/video_core/shader/node.h | |
parent | Merge pull request #3424 from ReinUsesLisp/spirv-layer (diff) | |
download | yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.tar yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.tar.gz yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.tar.bz2 yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.tar.lz yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.tar.xz yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.tar.zst yuzu-1dda77d392a31f3a0e7228518eab6d1166020876.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index a0a7b9111..a1828546e 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h @@ -299,7 +299,7 @@ private: u32 index{}; ///< Emulated index given for the this sampler. u32 offset{}; ///< Offset in the const buffer from where the sampler is being read. u32 buffer{}; ///< Buffer where the bindless sampler is being read (unused on bound samplers). - u32 size{}; ///< Size of the sampler if indexed. + u32 size{1}; ///< Size of the sampler. Tegra::Shader::TextureType type{}; ///< The type used to sample this texture (Texture2D, etc) bool is_array{}; ///< Whether the texture is being sampled as an array texture or not. |