zink: store drm format as internal_format for imported resources
internal_format is the "real" format of a resource, and the "real" format of imported resources is the external-facing format, not the pipe format this ensures the correct format is available for internal ops, such as nplanes queries Fixes: 2e2775c1 ("zink: fix PIPE_RESOURCE_PARAM_NPLANES with format modifier") Part-of: <mesa/mesa!20753>
Loading
Please register or sign in to comment