#include "nvfx_context.h"
#include "nvfx_resource.h"
-static boolean
+void
nvfx_fragtex_validate(struct nvfx_context *nvfx)
{
struct nouveau_channel* chan = nvfx->screen->base.channel;
samplers = nvfx->dirty_samplers;
if(!samplers)
- return FALSE;
+ return;
while (samplers) {
unit = ffs(samplers) - 1;
}
}
nvfx->dirty_samplers = 0;
- return FALSE;
}
void
NV34TCL_TX_FORMAT_DMA0, NV34TCL_TX_FORMAT_DMA1);
}
}
-
-struct nvfx_state_entry nvfx_state_fragtex = {
- .validate = nvfx_fragtex_validate,
- .dirty = {
- .pipe = NVFX_NEW_SAMPLER | NVFX_NEW_FRAGPROG,
- .hw = 0
- }
-};