mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
libs/vkd3d-shader: Do not emit output setup for ret in geometry shaders.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c21a8b56a0
commit
d14f9196f9
@ -4541,7 +4541,8 @@ static void vkd3d_dxbc_compiler_emit_return(struct vkd3d_dxbc_compiler *compiler
|
||||
{
|
||||
struct vkd3d_spirv_builder *builder = &compiler->spirv_builder;
|
||||
|
||||
vkd3d_dxbc_compiler_emit_output_setup_invocation(compiler);
|
||||
if (compiler->shader_type != VKD3D_SHADER_TYPE_GEOMETRY)
|
||||
vkd3d_dxbc_compiler_emit_output_setup_invocation(compiler);
|
||||
vkd3d_spirv_build_op_return(builder);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user