diff options
-rw-r--r-- | gralloc_drm_pipe.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c index 252f2be..f18ecef 100644 --- a/gralloc_drm_pipe.c +++ b/gralloc_drm_pipe.c @@ -98,11 +98,6 @@ static unsigned get_pipe_bind(int usage) { unsigned bind = PIPE_BIND_SHARED; - if (usage & GRALLOC_USAGE_SW_READ_MASK) - bind |= PIPE_BIND_TRANSFER_READ; - if (usage & GRALLOC_USAGE_SW_WRITE_MASK) - bind |= PIPE_BIND_TRANSFER_WRITE; - if (usage & GRALLOC_USAGE_HW_TEXTURE) bind |= PIPE_BIND_SAMPLER_VIEW; if (usage & GRALLOC_USAGE_HW_RENDER) |