mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 22:28:04 +02:00
anv: Use the same re-order mode for streamout as for GS
This makes the vertex order of TRISTRIP and TRISTRIP_ADJ primitves consistent between XFB output and GS input. Technically, the Vulkan spec allows us to XFB out in whatever order we want but being consistent with GS inputs is probably nicer to apps. Fixes:36ee2fd61c"anv: Implement the basic form of VK_EXT_transform_feedback" Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10460> (cherry picked from commit22b8bcda2c)
This commit is contained in:
parent
e8d30fa9ec
commit
891eeea222
2 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
"description": "anv: Use the same re-order mode for streamout as for GS",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "36ee2fd61c8f943be1d1e2b0354f7a121ffef28f"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1413,6 +1413,7 @@ emit_3dstate_streamout(struct anv_graphics_pipeline *pipeline,
|
|||
if (xfb_info) {
|
||||
so.SOFunctionEnable = true;
|
||||
so.SOStatisticsEnable = true;
|
||||
so.ReorderMode = TRAILING;
|
||||
|
||||
const VkPipelineRasterizationStateStreamCreateInfoEXT *stream_info =
|
||||
vk_find_struct_const(rs_info, PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue