projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96e45e
)
st/mesa: set UseSTD430AsDefaultPacking const based on CAP
author
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 14 Sep 2017 22:21:22 +0000
(08:21 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Fri, 15 Sep 2017 01:42:55 +0000
(11:42 +1000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index bc206df3bf178d8d5ed2c550a29441cabc3a63fb..4f2ad35d56e3f5b50d5e766c09596347f5e1e91c 100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-466,6
+466,9
@@
void st_init_limits(struct pipe_screen *screen,
c->AllowMappedBuffersDuringExecution =
screen->get_param(screen, PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION);
+
+ c->UseSTD430AsDefaultPacking =
+ screen->get_param(screen, PIPE_CAP_LOAD_CONSTBUF);
}