From: Marek Olšák <marek.ol...@amd.com>

---
 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 82d05e5..b72cb1a 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -241,7 +241,7 @@ union si_shader_key {
                 * This describes how outputs are laid out in memory. */
                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;
@@ -251,7 +251,7 @@ union si_shader_key {
                 * by the next stage (needed by ES).
                 * This describes how outputs are laid out in memory. */
                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.1.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to