search for: nvfx_state_sr_valid

Displaying 2 results from an estimated 2 matches for "nvfx_state_sr_valid".

2012 Jan 24
1
[PATCH] nvfx: fix nv3x fallout from state validation changes
...have no idea why this is needed + to make this work properly */ + nvfx->dirty &= ~NVFX_NEW_SAMPLER; nvfx_fragtex_validate(nvfx); // TODO: only set this if really necessary @@ -303,7 +306,8 @@ nvfx_state_validate_common(struct nvfx_context *nvfx) if(dirty & NVFX_NEW_SR) nvfx_state_sr_validate(nvfx); - if(dirty & NVFX_NEW_VIEWPORT) + /* XXX: nv3x needs viewport revalidation after RAST or ZSA change */ + if(dirty & (NVFX_NEW_VIEWPORT | NVFX_NEW_RAST | NVFX_NEW_ZSA)) { nvfx_state_viewport_validate(nvfx); } -- 1.7.7.6
2012 Jan 10
5
[PATCH 0/4] nvfx: rework render temps code and fixes
This patch series silences some unknown cap warnings and fixes up coding style (patch 1+4). The most important part of this series are the two patches in the middle. They rework the state_fb code, so that we are able to render to not 64 byte aligned targets, as this is the only real use-case for render temporaries this allows us to drop temp code completely and simplifies a lot