projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063d7bf
)
crocus: reorder version checks on indirect xfb
author
Dave Airlie
<airlied@redhat.com>
Sun, 4 Jul 2021 20:54:35 +0000
(06:54 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 5 Jul 2021 05:03:48 +0000
(15:03 +1000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11707>
src/gallium/drivers/crocus/crocus_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/crocus/crocus_draw.c
b/src/gallium/drivers/crocus/crocus_draw.c
index
73de537
..
feef4e7
100644
(file)
--- a/
src/gallium/drivers/crocus/crocus_draw.c
+++ b/
src/gallium/drivers/crocus/crocus_draw.c
@@
-374,8
+374,8
@@
crocus_draw_vbo(struct pipe_context *ctx,
return;
}
- if (
indirect && indirect->count_from_stream_output
&&
-
screen->devinfo.verx10 < 75
) {
+ if (
screen->devinfo.verx10 < 75
&&
+
indirect && indirect->count_from_stream_output
) {
crocus_draw_vbo_get_vertex_count(ctx, info, drawid_offset, indirect);
return;
}