mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
asahi: fix output to non-rast streams
fixes arb_gpu_shader5-emitstreamvertex_nodraw Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
parent
79e37f7581
commit
2ad5bcc41e
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,7 @@ lower_emit_vertex(nir_builder *b, nir_intrinsic_instr *intr,
|
|||
*
|
||||
* TODO: This could be optimized many ways.
|
||||
*/
|
||||
if (!state->rasterizer_discard) {
|
||||
if (!state->rasterizer_discard && stream == 0) {
|
||||
nir_if *nif = nir_push_if(b, nir_ult(b, total_vertices, our_num_verts));
|
||||
{
|
||||
/* The index into the geometry output buffer */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue