mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
swr: [rasterizer core] ensure adjacent topologies use the cut-aware PA
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
efdaf5fa3e
commit
0363015964
1 changed files with 2 additions and 5 deletions
|
|
@ -1159,14 +1159,11 @@ struct PA_FACTORY
|
|||
if ((IsIndexedT::value && IsCutIndexEnabledT::value && (
|
||||
topo == TOP_TRIANGLE_STRIP || topo == TOP_POINT_LIST ||
|
||||
topo == TOP_LINE_LIST || topo == TOP_LINE_STRIP ||
|
||||
topo == TOP_TRIANGLE_LIST || topo == TOP_LINE_LIST_ADJ ||
|
||||
topo == TOP_LISTSTRIP_ADJ || topo == TOP_TRI_LIST_ADJ ||
|
||||
topo == TOP_TRI_STRIP_ADJ)) ||
|
||||
topo == TOP_TRIANGLE_LIST)) ||
|
||||
|
||||
// non-indexed draws with adjacency topologies must use cut-aware PA until we add support
|
||||
// for them in the optimized PA
|
||||
(!IsIndexedT::value && (
|
||||
topo == TOP_LINE_LIST_ADJ || topo == TOP_LISTSTRIP_ADJ || topo == TOP_TRI_LIST_ADJ || topo == TOP_TRI_STRIP_ADJ)))
|
||||
(topo == TOP_LINE_LIST_ADJ || topo == TOP_LISTSTRIP_ADJ || topo == TOP_TRI_LIST_ADJ || topo == TOP_TRI_STRIP_ADJ))
|
||||
{
|
||||
memset(&indexStore, 0, sizeof(indexStore));
|
||||
uint32_t numAttribs = state.feNumAttributes;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue