mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 05:20:09 +01:00
gallium/postprocess: document serious issue causing undefined behavior
This commit is contained in:
parent
ead0a89c96
commit
99a192ce7d
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue