Skip to content
Snippets Groups Projects
Commit 7220acf5 authored by Neil Roberts's avatar Neil Roberts Committed by Eric Engestrom
Browse files

v3d: Use stvpmd for non-uniform offsets in GS

The offset for the VPM write for storing outputs from the geometry
shader isn’t necessarily uniform across all the lanes. This can happen
if some of the lanes don’t emit some of the vertices. In that case the
offset for the subsequent vertices will be different in each lane. In
that case we need to use the stvpmd instruction instead of stvpmv
because it will scatter the values out.

Closes: mesa/mesa#3150



Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
Part-of: <mesa/mesa!5621>
(cherry picked from commit 3b1c511b)
parent c8a688b9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment