diff options
author | Chad Versace <[email protected]> | 2015-12-09 16:59:02 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-12-14 10:46:27 -0800 |
commit | ee57062e1ec5d1d4666239c5a9c426982861f375 (patch) | |
tree | 414c27925118fb115dd524e2b8c03644ee88730e /.gitattributes | |
parent | f0d11d5a814b792eb5f5161e9332123aaaf689fb (diff) |
anv: Remove anv_image::surface_type
When building RENDER_SURFACE_STATE, the driver set
SurfaceType = anv_image::surface_type, which was calculated during
anv_image_init(). This was bad because the value of
anv_image::surface_type was taken from a gen-specific header,
gen8_pack.h, even though the anv_image structure is used for all gens.
Replace anv_image::surface_type with a gen-specific lookup function,
anv_surftype(), defined in gen${x}_state.c.
The lookup function contains some useful asserts that caught some nasty
bugs in anv meta, which were fixed in the previous commit.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions