gl_graphics_pipeline: Fix assembly shaders check for transform feedbacks

master
ReinUsesLisp 2021-06-20 17:09:50 +07:00 committed by ameerj
parent cbce9ddd4a
commit 3877918e96
1 changed files with 1 additions and 1 deletions

@ -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 {