projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3867af3
)
st/mesa: set ctx->Const.SubPixelBits
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 6 Aug 2018 08:25:15 +0000
(
04:25
-0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 23 Aug 2018 20:56:17 +0000
(16:56 -0400)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
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 a81c68dd53aeb938389b49b2f10b8c9bf43f80b5..d1c18e4e2a0ae2043f93b297fafb25152dcdf0a1 100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-111,6
+111,7
@@
void st_init_limits(struct pipe_screen *screen,
c->MaxViewportHeight =
c->MaxRenderbufferSize = c->MaxTextureRectSize;
+ c->SubPixelBits =
c->ViewportSubpixelBits =
screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS);