Mesa (master): clover: Fix build since removal of pipe_surface::usage

Tom Stellard tstellar at kemper.freedesktop.org
Thu Dec 13 20:03:28 UTC 2012


Module: Mesa
Branch: master
Commit: 4330cfec8b5225283bccc03f53a440c20e8e5cb5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4330cfec8b5225283bccc03f53a440c20e8e5cb5

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Dec 13 20:04:34 2012 +0000

clover: Fix build since removal of pipe_surface::usage

by commit 25409c6da8163d9acb386511aef0c11577c7aadb

---

 .../state_trackers/clover/core/resource.cpp        |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/clover/core/resource.cpp b/src/gallium/state_trackers/clover/core/resource.cpp
index 80bcd2a..ab562ad 100644
--- a/src/gallium/state_trackers/clover/core/resource.cpp
+++ b/src/gallium/state_trackers/clover/core/resource.cpp
@@ -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)




More information about the mesa-commit mailing list