[Mesa-dev] [PATCH 20/35] genxml: Make "Reorder Mode" fields consistent.

Kenneth Graunke kenneth at whitecape.org
Mon Apr 24 22:03:56 UTC 2017


On Wednesday, April 19, 2017 4:56:13 PM PDT Rafael Antognolli wrote:
> From: Kenneth Graunke <kenneth at whitecape.org>
> 
> Both GS and SOL have these fields.  Some were ReorderEnable = true,
> some were ReorderMode = REORDER_TRAILING, and some were just TRAILING.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/intel/genxml/gen6.xml        | 5 ++++-
>  src/intel/genxml/gen7.xml        | 5 ++++-
>  src/intel/vulkan/genX_pipeline.c | 4 ----
>  3 files changed, 8 insertions(+), 6 deletions(-)

I'm a little conflicted about this...I had forgotten that the Gen6-7 GS
doesn't actually do proper "trailing" reordering.  It just...reorders
them...differently.  So "Reorder Enable" feels kind of appropriate.

That said, it feels stupid to have ifdefs to set the same exact bit,
and we call it REORDER_TRAILING in the existing gen7_gs_state.c code.
We just have a comment pointing out that it's kinda broken.

So, I suppose it's fine.  I can't really give an R-b for my own patch
though :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170424/61524918/attachment.sig>


More information about the mesa-dev mailing list