mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 06:20:27 +01:00
pipebuffer: Silent warnings.
Although rarely hit in normal apps, they are too noisy with test suites.
This commit is contained in:
parent
79ca9734ea
commit
ade03755bc
1 changed files with 4 additions and 0 deletions
|
|
@ -174,7 +174,9 @@ _fenced_buffer_finish(struct fenced_buffer *fenced_buf)
|
|||
struct fenced_buffer_list *fenced_list = fenced_buf->list;
|
||||
struct pipe_winsys *winsys = fenced_list->winsys;
|
||||
|
||||
#if 0
|
||||
debug_warning("waiting for GPU");
|
||||
#endif
|
||||
|
||||
assert(fenced_buf->fence);
|
||||
if(fenced_buf->fence) {
|
||||
|
|
@ -278,11 +280,13 @@ fenced_buffer_map(struct pb_buffer *buf,
|
|||
_fenced_buffer_finish(fenced_buf);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Check for CPU write access (read is OK) */
|
||||
if(fenced_buf->flags & PIPE_BUFFER_USAGE_CPU_READ_WRITE) {
|
||||
/* this is legal -- just for debugging */
|
||||
debug_warning("concurrent CPU writes");
|
||||
}
|
||||
#endif
|
||||
|
||||
map = pb_map(fenced_buf->buffer, flags);
|
||||
if(map) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue