aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/common
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2019-08-06 19:58:42 -0700
committerVasily Khoruzhick <[email protected]>2019-08-08 19:17:20 -0700
commit39a90749afaff91739d81634092385abdbf45413 (patch)
tree52ba4d9bfaab5b0f4867890e34498c18ccdada10 /src/intel/common
parentedf008c04e4dfa7c8fdb03be09da731f05b77072 (diff)
lima: introduce a struct describing texture descriptor
Use a struct with bitfields to construct texture descriptor instead of poking bits in array of uint32_t. It improves code readability and makes it easier to experiment with unknown fields. Also fix mipmapping while we're at it - Utgard can have up to 13 levels, but 64 bytes is enough only for 10. Calculate descriptor size dynamically to account extra levels if we need them. Reviewed-by: Qiang Yu <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/intel/common')
0 files changed, 0 insertions, 0 deletions