diff options
author | Ilia Mirkin <[email protected]> | 2017-01-01 23:42:17 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-01-16 21:13:09 -0500 |
commit | a1c84842710268793c4a8de3cad8db95b6f37a82 (patch) | |
tree | 356fd20d7a55c09e28293d53d88adf3b3a54a7b5 /src/gallium/drivers/ddebug | |
parent | ee3ebe68f949f1e365029db217808303692863a2 (diff) |
gallium: add flags parameter to texture barrier
This is so that we can differentiate between flushing any framebuffer
reading caches from regular sampler caches.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c index edcbf2cdfec..0b1dfbbc57c 100644 --- a/src/gallium/drivers/ddebug/dd_context.c +++ b/src/gallium/drivers/ddebug/dd_context.c @@ -676,11 +676,11 @@ dd_context_texture_subdata(struct pipe_context *_pipe, */ static void -dd_context_texture_barrier(struct pipe_context *_pipe) +dd_context_texture_barrier(struct pipe_context *_pipe, unsigned flags) { struct pipe_context *pipe = dd_context(_pipe)->pipe; - pipe->texture_barrier(pipe); + pipe->texture_barrier(pipe, flags); } static void |