summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-20 22:09:50 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:39 +0200
commit3877918e9657bcde160080aecc1821cf8cb50ea4 (patch)
tree408d3d8a710f2662a0497041bbff3d5c727e7201 /src/video_core
parentglsl: Remove frag color initialization (diff)
downloadyuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.tar
yuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.tar.gz
yuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.tar.bz2
yuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.tar.lz
yuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.tar.xz
yuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.tar.zst
yuzu-3877918e9657bcde160080aecc1821cf8cb50ea4.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_graphics_pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
index ad61a17a5..a93b03cf7 100644
--- a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
+++ b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
@@ -229,7 +229,7 @@ GraphicsPipeline::GraphicsPipeline(
writes_global_memory &= !use_storage_buffers;
configure_func = ConfigureFunc(stage_infos, enabled_stages_mask);
- if (assembly_shaders && key.xfb_enabled) {
+ if (key.xfb_enabled && device.UseAssemblyShaders()) {
GenerateTransformFeedbackState();
}
auto func{[this, device, sources, shader_notify](ShaderContext::Context*) mutable {