From 38391835b5cbdd52e7a3221ff98f402aefa1639b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sat, 17 Oct 2015 23:59:52 +0200 Subject: [PATCH] radeonsi: fix the export_prim_id field size in the shader key MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index b1076ed9183..fd5500c1ab3 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -244,7 +244,7 @@ union si_shader_key { uint64_t es_enabled_outputs; unsigned as_es:1; /* export shader */ unsigned as_ls:1; /* local shader */ - unsigned export_prim_id; /* when PS needs it and GS is disabled */ + unsigned export_prim_id:1; /* when PS needs it and GS is disabled */ } vs; struct { unsigned prim_mode:3; @@ -255,7 +255,7 @@ union si_shader_key { * This describes how outputs are laid out in memory. */ uint64_t es_enabled_outputs; unsigned as_es:1; /* export shader */ - unsigned export_prim_id; /* when PS needs it and GS is disabled */ + unsigned export_prim_id:1; /* when PS needs it and GS is disabled */ } tes; /* tessellation evaluation shader */ }; -- 2.30.2