diff options
| author | 2020-03-05 11:42:46 -0500 | |
|---|---|---|
| committer | 2020-03-05 11:42:46 -0500 | |
| commit | 0361aa1915468ec55ea0e70778c041f13c0d6746 (patch) | |
| tree | 3b16308a82001e6bd9ff5576c3958b3fb1cb433a /src/video_core/shader/node.h | |
| parent | Merge pull request #3469 from namkazt/patch-1 (diff) | |
| parent | vk_shader_decompiler: Implement indexed textures (diff) | |
| download | yuzu-0361aa1915468ec55ea0e70778c041f13c0d6746.tar.gz yuzu-0361aa1915468ec55ea0e70778c041f13c0d6746.tar.xz yuzu-0361aa1915468ec55ea0e70778c041f13c0d6746.zip | |
Merge pull request #3451 from ReinUsesLisp/indexed-textures
vk_shader_decompiler: Implement indexed textures
Diffstat (limited to 'src/video_core/shader/node.h')
| -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: | |||
| 299 | u32 index{}; ///< Emulated index given for the this sampler. | 299 | u32 index{}; ///< Emulated index given for the this sampler. |
| 300 | u32 offset{}; ///< Offset in the const buffer from where the sampler is being read. | 300 | u32 offset{}; ///< Offset in the const buffer from where the sampler is being read. |
| 301 | u32 buffer{}; ///< Buffer where the bindless sampler is being read (unused on bound samplers). | 301 | u32 buffer{}; ///< Buffer where the bindless sampler is being read (unused on bound samplers). |
| 302 | u32 size{}; ///< Size of the sampler if indexed. | 302 | u32 size{1}; ///< Size of the sampler. |
| 303 | 303 | ||
| 304 | Tegra::Shader::TextureType type{}; ///< The type used to sample this texture (Texture2D, etc) | 304 | Tegra::Shader::TextureType type{}; ///< The type used to sample this texture (Texture2D, etc) |
| 305 | bool is_array{}; ///< Whether the texture is being sampled as an array texture or not. | 305 | bool is_array{}; ///< Whether the texture is being sampled as an array texture or not. |