mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 21:30:31 +01:00
radv: always emit a position export in gs copy shaders
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Fixes:f8d0337299('radv: add multiple streams support for the GS copy shader') Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commitffabcbba60)
This commit is contained in:
parent
3859e211db
commit
44c38ecd27
1 changed files with 1 additions and 1 deletions
|
|
@ -4066,7 +4066,7 @@ ac_gs_copy_shader_emit(struct radv_shader_context *ctx)
|
|||
LLVMBasicBlockRef bb;
|
||||
unsigned offset;
|
||||
|
||||
if (!num_components)
|
||||
if (stream > 0 && !num_components)
|
||||
continue;
|
||||
|
||||
if (stream > 0 && !ctx->shader_info->info.so.num_outputs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue