upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-21 23:15:31 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-21 23:15:31 -0500
commit3dd8acf58c98f2b3e05fe3f36dffd37e9eb751eb (patch)
tree7f5de35a272d788f75be0d37709a7c0cebb7cff4 /runtime/src
parent2ff99bd6a17da57589c86385ec1975fd693598e3 (diff)
parentf609f9c93e181a558e9a5b8dfa0eeb941b49b09a (diff)
Merge pull request #834 from Vonsek
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/gfx10_descriptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/gfx10_descriptors.h b/runtime/src/gfx10_descriptors.h
index 4d0e7b44a..2a5e4533a 100644
--- a/runtime/src/gfx10_descriptors.h
+++ b/runtime/src/gfx10_descriptors.h
@@ -579,7 +579,7 @@ inline VkSamplerCreateInfo vulkan_sampler(const Sampler& sampler) {
579 info.mipLodBias = sampler.lod_bias; 579 info.mipLodBias = sampler.lod_bias;
580 info.anisotropyEnable = sampler.max_anisotropy > 1 ? VK_TRUE : VK_FALSE; 580 info.anisotropyEnable = sampler.max_anisotropy > 1 ? VK_TRUE : VK_FALSE;
581 info.maxAnisotropy = float(std::max(sampler.max_anisotropy, 1u)); 581 info.maxAnisotropy = float(std::max(sampler.max_anisotropy, 1u));
582 info.compareEnable = sampler.compare_never || sampler.compare != CompareFunction::never; 582 info.compareEnable = (sampler.compare_never || sampler.compare != CompareFunction::never) ? VK_TRUE : VK_FALSE;
583 info.compareOp = VkCompareOp(sampler.compare); 583 info.compareOp = VkCompareOp(sampler.compare);
584 info.minLod = sampler.min_lod; 584 info.minLod = sampler.min_lod;
585 info.maxLod = sampler.max_lod; 585 info.maxLod = sampler.max_lod;