summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-02 06:10:04 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:34 +0200
commite57ee3b7fd8dd942b616d389635a4e9f00c596e9 (patch)
tree0e40d42364886aa1a64cc7cc82b66de9cea5e372
parentfixed_pipeline_state: Use regular for loop instead of ranges for perf (diff)
downloadyuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.tar
yuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.tar.gz
yuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.tar.bz2
yuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.tar.lz
yuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.tar.xz
yuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.tar.zst
yuzu-e57ee3b7fd8dd942b616d389635a4e9f00c596e9.zip
-rw-r--r--src/video_core/transform_feedback.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/transform_feedback.cpp b/src/video_core/transform_feedback.cpp
index db52fff93..ba26ac3f1 100644
--- a/src/video_core/transform_feedback.cpp
+++ b/src/video_core/transform_feedback.cpp
@@ -72,8 +72,9 @@ std::vector<Shader::TransformFeedbackVarying> MakeTransformFeedbackVaryings(
const u32 base_offset = offset;
const u8 location = locations[offset];
+ UNIMPLEMENTED_IF_MSG(layout.stream != 0, "Stream is not zero: {}", layout.stream);
Shader::TransformFeedbackVarying varying{
- .buffer = layout.stream,
+ .buffer = static_cast<u32>(buffer),
.stride = layout.stride,
.offset = offset * 4,
.components = 1,