Files
bgfx/src
Ciro Mondueri bf411dd393 d3d12: fixes triangle list primitive state change not ackd. after touch call (#2951)
Suppose this is the draw call sequence in a frame:
- triangle strip
- touch (required to apply stencil changes for example)
- triangle list

Touch masks the change (as it's triangle list by default) by setting
changedFlags, but not primIndex. When the triangle list is processed,
the STATE_PT is already set to triangle list, so the test for
changedFlags is skipped and primIndex stays with triangle strip.

The fix detects the change in the STATE_PT and updates primIndex.
2022-10-07 17:28:18 -07:00
..
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-10-05 21:10:19 -07:00
2022-10-05 21:10:19 -07:00
2022-01-15 11:59:06 -08:00
2022-09-17 19:59:35 -07:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-09-22 20:32:36 -07:00
2022-09-15 22:13:34 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-09-23 10:01:47 -07:00
2022-09-23 10:01:47 -07:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-10-03 20:19:19 -07:00
2022-09-23 10:01:47 -07:00
2022-01-15 11:59:06 -08:00
2022-10-03 20:43:48 -07:00
2022-01-15 11:59:06 -08:00
2022-09-18 19:24:08 -07:00
2022-01-15 11:59:06 -08:00
2022-07-12 14:21:31 -07:00
2022-04-26 19:15:15 -07:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00
2013-02-21 21:07:31 -08:00
2022-09-18 19:11:58 -07:00
2021-06-06 14:51:46 -07:00
2022-01-15 11:59:06 -08:00
2022-01-15 11:59:06 -08:00