mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
nv30: activate fp texture units when needed, to get texturing
This commit is contained in:
parent
4d9d192672
commit
248831e741
1 changed files with 4 additions and 0 deletions
|
|
@ -71,6 +71,10 @@ nv30_state_emit(struct nv30_context *nv30)
|
|||
|
||||
state->dirty = 0;
|
||||
|
||||
/* FIXME/TODO: Try to find a way to reemit only when changed */
|
||||
BEGIN_RING(rankine, NV34TCL_TX_UNITS_ENABLE, 1);
|
||||
OUT_RING(state->fp_samplers);
|
||||
|
||||
so_emit_reloc_markers(nv30->nvws, state->hw[NV30_STATE_FB]);
|
||||
for (i = 0, samplers = state->fp_samplers; i < 16 && samplers; i++) {
|
||||
if (!(samplers & (1 << i)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue