Add ShaderDepalMode enum, use in shader ID. Replaces smoothed bit.

This commit is contained in:
Henrik Rydgård committed 2022-09-11 14:40:01 +02:00
1 parent 9bd8b11bf8
commit 694dbe1271
11 files changed
+53 -38

No files matched your search

+1 -1
View File
@@ -403,7 +403,7 @@ void TextureCacheVulkan::BindTexture(TexCacheEntry *entry) {
curSampler_ = samplerCache_.GetOrCreateSampler(samplerKey);
imageView_ = entry->vkTex->GetImageView();
drawEngine_->SetDepalTexture(VK_NULL_HANDLE, false);
gstate_c.SetUseShaderDepal(false, false);
gstate_c.SetUseShaderDepal(ShaderDepalMode::OFF);
}
void TextureCacheVulkan::ApplySamplingParams(const SamplerCacheKey &key) {