mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02: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>
This commit is contained in:
parent
0f29c9df31
commit
ffabcbba60
1 changed files with 1 additions and 1 deletions
|
|
@ -5042,7 +5042,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->so.num_outputs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue