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 80bcd2a851a3a0cd33328415ba22d77177088e4f..ab562adfc94a8fd1d82f8d938750778098f4cc43 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)