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

Rafael Antognolli rafael.antognolli at intel.com
Mon Apr 24 22:05:44 UTC 2017


On Mon, Apr 24, 2017 at 03:03:56PM -0700, Kenneth Graunke wrote:
> 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 :)

Heh, you have mine at least:

Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>


More information about the mesa-dev mailing list