projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3344699
)
radeonsi: set the rasterization primitive type for tessellation
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 22 Feb 2015 17:09:18 +0000
(18:09 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:33 +0000
(
00:59
+0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_draw.c
b/src/gallium/drivers/radeonsi/si_state_draw.c
index dc90d3f5fb5525dcf5ebe9e8686ce04bf3333b1f..1793c2e6f916ffa11a0c18fd28e8dbeadf885d78 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/
src/gallium/drivers/radeonsi/si_state_draw.c
@@
-730,6
+730,9
@@
void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info)
* current_rast_prim for this draw_vbo call. */
if (sctx->gs_shader)
sctx->current_rast_prim = sctx->gs_shader->gs_output_prim;
+ else if (sctx->tes_shader)
+ sctx->current_rast_prim =
+ sctx->tes_shader->info.properties[TGSI_PROPERTY_TES_PRIM_MODE];
else
sctx->current_rast_prim = info->mode;