OSDN Git Service

genxml: Put append counter fields before MCS in RENDER_SURFACE_STATE on gen7
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jun 2016 18:37:46 +0000 (11:37 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Jun 2016 19:53:35 +0000 (20:53 +0100)
commit13d82b76903d1e070da34903fa3f8c60ab66126f
tree4ac0a9f36ca2e518d8c49b1af80c680c4b84c5a1
parent94cd7425e8e78f0dda6fbfede077381fee6638db
genxml: Put append counter fields before MCS in RENDER_SURFACE_STATE on gen7

The pack header generation scripts can't handle the case where you have
two addresses in the same dword; they just take whatever is the last one.
This meant that the MCS address wasn't properly getting handled.  Since we
don't care about append counters, we can just re-arrange the XML for now.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 89ded099f840275d278c408e132ad5db39fdf5af)
src/intel/genxml/gen7.xml
src/intel/genxml/gen75.xml