Jason Ekstrand
b0a5ca5cfc
isl: Remove surf_get_intratile_offset_el
...
The intratile offset may not be a multiple of the element size so this
calculation is invalid.
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
2016-04-08 15:58:01 -07:00
Jason Ekstrand
b37502b983
isl: Rework the get_intratile_offset function
...
The old function tried to work in elements which isn't, strictly speaking,
a valid thing to do. In the case of a non-power-of-two format, there is no
guarantee that the x offset into the tile is a multiple of the format
block size. This commit refactors it to work entirely in terms of a tiling
(not a surface) and bytes/rows.
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
2016-04-08 15:57:58 -07:00
Jason Ekstrand
6f47ed28b4
isl: Add more helpers for determining if a format is an integer format
2016-03-10 10:41:52 -08:00
Nanley Chery
b80c8ebc45
isl: Get rid of isl_surf_fill_state_info::level0_extent_px
...
This field is no longer needed.
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
2016-03-04 13:20:03 -08:00
Nanley Chery
456f5b0314
isl: Add function to get intratile offsets from x/y offsets
...
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
2016-03-03 10:56:15 -08:00
Jason Ekstrand
bd6470fa6c
isl: Add helpers for filling out brw_image_param
2016-02-27 10:26:14 -08:00
Jason Ekstrand
a0cd20eb7f
isl: Add a helper for filling a buffer surface state
2016-02-27 10:26:14 -08:00
Jason Ekstrand
d798762cdb
isl: Add a function for filling out a surface state
2016-02-27 10:26:13 -08:00
Jason Ekstrand
47b8b08612
Move isl to src/intel
2016-02-18 10:34:47 -08:00