radv: lower streamout in NIR
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18898>
This commit is contained in:
@@ -1018,12 +1018,6 @@ handle_vs_outputs_post(struct radv_shader_context *ctx)
|
||||
struct radv_shader_output_values *outputs;
|
||||
unsigned noutput = 0;
|
||||
|
||||
if (ctx->shader_info->so.num_outputs && !ctx->args->is_gs_copy_shader &&
|
||||
ctx->stage != MESA_SHADER_GEOMETRY && !ctx->shader_info->is_ngg) {
|
||||
/* The GS copy shader emission already emits streamout. */
|
||||
radv_emit_streamout(ctx, 0);
|
||||
}
|
||||
|
||||
/* Allocate a temporary array for the output values. */
|
||||
unsigned num_outputs = util_bitcount64(ctx->output_mask);
|
||||
outputs = malloc(num_outputs * sizeof(outputs[0]));
|
||||
|
Reference in New Issue
Block a user