summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-31 20:09:46 +0100
committerMarek Olšák <[email protected]>2015-02-04 14:34:13 +0100
commit1fe7ba8c6939ecaaa6c7e5cb6ce351167c5b6519 (patch)
tree00a4a9a75d496ab34f8fd5babd38213c774570ea /src/gallium/drivers/radeonsi/si_pipe.h
parent8f65e6eae8a3d44ff9ae04c62621e360a06ae29d (diff)
radeonsi: deduce rasterizer primitive type at the beginning of draw_vbo
I will need this for polygon stippling. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index d2edcdf8ea7..02820a1dd2d 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -223,6 +223,7 @@ struct si_context {
int last_prim;
int last_multi_vgt_param;
int last_rast_prim;
+ int current_rast_prim; /* primitive type after TES, GS */
/* Scratch buffer */
boolean emit_scratch_reloc;