summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2020-04-24 09:27:51 +0200
committerMarkus Wick <markus@selfnet.de>2020-04-24 09:33:04 +0200
commitc499c22cf749e49d223b653b036e560a618bb6e2 (patch)
tree1d6e722109d5d9e7e83339ff14533af8ec46296a /src/video_core
parentMerge pull request #3760 from Morph1984/trailing-filedir-separator (diff)
downloadyuzu-c499c22cf749e49d223b653b036e560a618bb6e2.tar
yuzu-c499c22cf749e49d223b653b036e560a618bb6e2.tar.gz
yuzu-c499c22cf749e49d223b653b036e560a618bb6e2.tar.bz2
yuzu-c499c22cf749e49d223b653b036e560a618bb6e2.tar.lz
yuzu-c499c22cf749e49d223b653b036e560a618bb6e2.tar.xz
yuzu-c499c22cf749e49d223b653b036e560a618bb6e2.tar.zst
yuzu-c499c22cf749e49d223b653b036e560a618bb6e2.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/fixed_pipeline_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.h b/src/video_core/renderer_vulkan/fixed_pipeline_state.h
index 9fe6bdbf9..9a950f4de 100644
--- a/src/video_core/renderer_vulkan/fixed_pipeline_state.h
+++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.h
@@ -129,7 +129,7 @@ struct alignas(32) FixedPipelineState {
auto& binding = bindings[index];
binding.raw = 0;
binding.enabled.Assign(enabled ? 1 : 0);
- binding.stride.Assign(stride);
+ binding.stride.Assign(static_cast<u16>(stride));
binding_divisors[index] = divisor;
}