mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
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:
parent
09778670b4
commit
3fb07c5412
1 changed files with 0 additions and 3 deletions
|
|
@ -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 = {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue