[Mesa-dev] [PATCH] i965/gs: Fix incorrect numbering of DWORDs in 3DSTATE_GS
Chad Versace
chad.versace at linux.intel.com
Mon Sep 30 15:34:21 PDT 2013
On 09/27/2013 09:42 PM, Paul Berry wrote:
> In commit 247f90c77e8f3894e963d796628246ba0bde27b5 (i965/gs: Set
> control data header size/format appropriately for EndPrimitive()), I
> incorrectly numbered the DWORDs in the 3DSTATE_GS command starting
> from 1 instead of starting from 0. This caused the control data
> format to be programmed into the wrong DWORD, resulting in corruption
> in some geometry shaders that used an output type of points.
>
> This patch numbers the DWORDs starting from 0, as we do for all other
> commands, which causes the control data format to be programmed into
> the correct DWORD.
> ---
> src/mesa/drivers/dri/i965/gen7_gs_state.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the mesa-dev
mailing list