diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-02 06:10:04 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:34 +0200 |
commit | e57ee3b7fd8dd942b616d389635a4e9f00c596e9 (patch) | |
tree | 0e40d42364886aa1a64cc7cc82b66de9cea5e372 /src/video_core | |
parent | fixed_pipeline_state: Use regular for loop instead of ranges for perf (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/transform_feedback.cpp | 3 |
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, |