projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16f81fc
)
ilo: fix PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS
author
Chia-I Wu
<olvaffe@gmail.com>
Wed, 1 May 2013 09:40:50 +0000
(17:40 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 1 May 2013 09:41:39 +0000
(17:41 +0800)
On GEN7+, is->dev.has_gen7_sol_reset is required.
src/gallium/drivers/ilo/ilo_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_screen.c
b/src/gallium/drivers/ilo/ilo_screen.c
index 737c0c44da9bc554f75a9d89cf74396ba0749dd2..31a05dfefdbe454a9f3519b7096708d107d9f8f7 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_screen.c
+++ b/
src/gallium/drivers/ilo/ilo_screen.c
@@
-325,6
+325,8
@@
ilo_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_SM3:
return true;
case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
+ if (is->dev.gen >= ILO_GEN(7) && !is->dev.has_gen7_sol_reset)
+ return 0;
return ILO_MAX_SO_BUFFERS;
case PIPE_CAP_PRIMITIVE_RESTART:
return false; /* TODO */