summaryrefslogtreecommitdiffstats
path: root/src/util/u_endian.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-30 11:18:39 -0700
committerJason Ekstrand <[email protected]>2016-09-12 19:42:57 -0700
commit4e03edf1890d4b0a0dd131085b9e04aa4fbf6b12 (patch)
tree74ff3d2d7f81fb9af17410dedec2d36bb21a85fd /src/util/u_endian.h
parentc170606fc68d1504c9dc34b4672b5bb08d719079 (diff)
intel/blorp: Stop using the X/YOffset field of RENDER_SURFACE_STATE
While it can be useful, the field has substantial limtations. In particular, the bittom 2 or 3 bits is missing so your offset always has to be a multiple of 4 or 8. While surface alignments usually work out to make this ok, when you start trying to fake compressed surfaces as uncompressed (which we will want to do) this falls apart. The easiest solution is to simply align all offsets to a tile boundary and munge the regions we're copying to account for the intratile offset. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/util/u_endian.h')
0 files changed, 0 insertions, 0 deletions