mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
spirv: fill info.gs.input_primitive too
info.gs.output_primitive was already being filled. Not sure why this is not needed on Vulkan, but we found to be needed for ARB_gl_spirv. Specifically, this is needed to get the following test passing: KHR-GL45.gl_spirv.spirv_validation_builtin_variable_decorations_test Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
ed94a5799d
commit
624c00f1a6
1 changed files with 2 additions and 0 deletions
|
|
@ -3690,6 +3690,8 @@ vtn_handle_execution_mode(struct vtn_builder *b, struct vtn_value *entry_point,
|
|||
vtn_assert(b->shader->info.stage == MESA_SHADER_GEOMETRY);
|
||||
b->shader->info.gs.vertices_in =
|
||||
vertices_in_from_spv_execution_mode(b, mode->exec_mode);
|
||||
b->shader->info.gs.input_primitive =
|
||||
gl_primitive_from_spv_execution_mode(b, mode->exec_mode);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue