projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead0a89
)
gallium/postprocess: document serious issue causing undefined behavior
author
Marek Olšák
<maraeo@gmail.com>
Thu, 29 Mar 2012 19:28:55 +0000
(21:28 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 30 Mar 2012 16:14:06 +0000
(18:14 +0200)
src/gallium/auxiliary/postprocess/pp_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/postprocess/pp_program.c
b/src/gallium/auxiliary/postprocess/pp_program.c
index 5c819a9c60328de08629668b2433469967f02827..31e2bee76969f8a7eba52a36c2eb96d6f56933fc 100644
(file)
--- a/
src/gallium/auxiliary/postprocess/pp_program.c
+++ b/
src/gallium/auxiliary/postprocess/pp_program.c
@@
-53,6
+53,10
@@
pp_init_prog(struct pp_queue_t *ppq, struct pipe_screen *pscreen)
p->screen = pscreen;
p->pipe = pscreen->context_create(pscreen, NULL);
+
+ /* XXX this doesn't use the cso_context of the state tracker, but creates
+ * its own. Having 2 existing cso_contexts use 1 pipe_context may cause
+ * undefined behavior! */
p->cso = cso_create_context(p->pipe);
{