gfxstream: No VIRGL_BIND_LINEAR for ColorBuffers

This was added as a temporary measure when the imageDrmFmtMod emulation
was not yet implemented. Accompanies the host-side change:
https://android-review.googlesource.com/c/platform/hardware/google/gfxstream/+/3558263

Reviewed-By: Gurchetan Singh <gurchetansingh@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34160>
This commit is contained in:
Aaron Ruby 2025-03-24 11:48:02 -04:00 committed by Marge Bot
parent 09778670b4
commit 3fb07c5412

View file

@ -3847,9 +3847,6 @@ VkResult ResourceTracker::on_vkAllocateMemory(void* context, VkResult input_resu
}
const uint32_t target = PIPE_TEXTURE_2D;
uint32_t bind = VIRGL_BIND_RENDER_TARGET;
if (VK_IMAGE_TILING_LINEAR == imageCreateInfo.tiling) {
bind |= VIRGL_BIND_LINEAR;
}
if (mCaps.vulkanCapset.alwaysBlob) {
struct gfxstreamResourceCreate3d create3d = {};