mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
iris: assert that we're not exporting a TILE64 surface
Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: José Roberto de Souza <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32771>
This commit is contained in:
parent
308c2b9828
commit
5bddf6ceb0
1 changed files with 3 additions and 0 deletions
|
|
@ -1883,6 +1883,9 @@ iris_resource_get_handle(struct pipe_screen *pscreen,
|
|||
}
|
||||
#endif
|
||||
|
||||
/* TODO: TILE64 modifier support in the KMD */
|
||||
assert(res->surf.tiling != ISL_TILING_64);
|
||||
|
||||
switch (whandle->type) {
|
||||
case WINSYS_HANDLE_TYPE_SHARED:
|
||||
iris_gem_set_tiling(bo, &res->surf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue