OSDN Git Service

clover: Fix build since removal of pipe_surface::usage
authorTom Stellard <thomas.stellard@amd.com>
Thu, 13 Dec 2012 20:04:34 +0000 (20:04 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 13 Dec 2012 20:04:34 +0000 (20:04 +0000)
by commit 25409c6da8163d9acb386511aef0c11577c7aadb

src/gallium/state_trackers/clover/core/resource.cpp

index 80bcd2a..ab562ad 100644 (file)
@@ -100,7 +100,6 @@ resource::bind_surface(clover::command_queue &q, bool rw) {
    pipe_surface info {};
 
    info.format = pipe->format;
-   info.usage = pipe->bind;
    info.writable = rw;
 
    if (pipe->target == PIPE_BUFFER)