[Mesa-dev] [PATCH] intel: Always set Cube Face Enables for all surfaces.

Matt Turner mattst88 at gmail.com
Sat Sep 30 07:29:32 UTC 2017


On Fri, Sep 29, 2017 at 10:54 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> These shouldn't matter for non-cubes, and we always enable them all
> for cubes, so we may as well set them all the time.  We can just mark
> the fields "mbo" (must be one) and genxml will automatically set them
> for us, and we never even have to think about them.

I don't like overloading the concept of must-be-zero/one. It really
means that the hardware requires bits to be unset/set.

It looks like the if GEN_GEN check in isl_surface_state.c can go away
if we just make all of the genxml match. Not sure why we made gen8+
individual bits and earlier ones a uint bitfield. I think it's really
all the same.


More information about the mesa-dev mailing list