mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-27 18:45:42 +00:00
gl_graphics_pipeline: Fix assembly shaders check for transform feedbacks
This commit is contained in:
parent
cbce9ddd4a
commit
3877918e96
|
@ -229,7 +229,7 @@ GraphicsPipeline::GraphicsPipeline(
|
||||||
writes_global_memory &= !use_storage_buffers;
|
writes_global_memory &= !use_storage_buffers;
|
||||||
configure_func = ConfigureFunc(stage_infos, enabled_stages_mask);
|
configure_func = ConfigureFunc(stage_infos, enabled_stages_mask);
|
||||||
|
|
||||||
if (assembly_shaders && key.xfb_enabled) {
|
if (key.xfb_enabled && device.UseAssemblyShaders()) {
|
||||||
GenerateTransformFeedbackState();
|
GenerateTransformFeedbackState();
|
||||||
}
|
}
|
||||||
auto func{[this, device, sources, shader_notify](ShaderContext::Context*) mutable {
|
auto func{[this, device, sources, shader_notify](ShaderContext::Context*) mutable {
|
||||||
|
|
Loading…
Reference in a new issue