mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
nv50: update linkage on rasterizer change
We need to update VP_RESULT_MAP and/or COORD_REPLACE_MAP when light_twoside and/or point_sprite are changed.
This commit is contained in:
parent
7494b82905
commit
c332525ad3
1 changed files with 4 additions and 2 deletions
|
|
@ -201,7 +201,8 @@ nv50_state_emit(struct nv50_context *nv50)
|
|||
so_emit(chan, nv50->state.vertprog);
|
||||
if (nv50->state.dirty & NV50_NEW_FRAGPROG)
|
||||
so_emit(chan, nv50->state.fragprog);
|
||||
if (nv50->state.dirty & (NV50_NEW_FRAGPROG | NV50_NEW_VERTPROG))
|
||||
if (nv50->state.dirty & (NV50_NEW_FRAGPROG | NV50_NEW_VERTPROG |
|
||||
NV50_NEW_RASTERIZER))
|
||||
so_emit(chan, nv50->state.programs);
|
||||
if (nv50->state.dirty & NV50_NEW_RASTERIZER)
|
||||
so_emit(chan, nv50->state.rast);
|
||||
|
|
@ -264,7 +265,8 @@ nv50_state_validate(struct nv50_context *nv50)
|
|||
if (nv50->dirty & (NV50_NEW_FRAGPROG | NV50_NEW_FRAGPROG_CB))
|
||||
nv50_fragprog_validate(nv50);
|
||||
|
||||
if (nv50->dirty & (NV50_NEW_FRAGPROG | NV50_NEW_VERTPROG))
|
||||
if (nv50->dirty & (NV50_NEW_FRAGPROG | NV50_NEW_VERTPROG |
|
||||
NV50_NEW_RASTERIZER))
|
||||
nv50_linkage_validate(nv50);
|
||||
|
||||
if (nv50->dirty & NV50_NEW_RASTERIZER)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue