Lines Matching defs:Sampler
2733 DWORD Sampler,
2739 user_assert(Sampler < NINE_MAX_SAMPLERS_PS ||
2740 Sampler == D3DDMAPSAMPLER ||
2741 (Sampler >= D3DVERTEXTEXTURESAMPLER0 &&
2742 Sampler <= D3DVERTEXTEXTURESAMPLER3), D3DERR_INVALIDCALL);
2744 if (Sampler >= D3DDMAPSAMPLER)
2745 Sampler = Sampler - D3DDMAPSAMPLER + NINE_MAX_SAMPLERS_PS;
2747 *pValue = This->state.samp_advertised[Sampler][Type];
2753 DWORD Sampler,
2759 DBG("This=%p Sampler=%u Type=%s Value=%08x\n", This,
2760 Sampler, nine_D3DSAMP_to_str(Type), Value);
2762 user_assert(Sampler < NINE_MAX_SAMPLERS_PS ||
2763 Sampler == D3DDMAPSAMPLER ||
2764 (Sampler >= D3DVERTEXTEXTURESAMPLER0 &&
2765 Sampler <= D3DVERTEXTEXTURESAMPLER3), D3DERR_INVALIDCALL);
2767 if (Sampler >= D3DDMAPSAMPLER)
2768 Sampler = Sampler - D3DDMAPSAMPLER + NINE_MAX_SAMPLERS_PS;
2771 state->samp_advertised[Sampler][Type] = Value;
2773 state->changed.sampler[Sampler] |= 1 << Type;
2777 if (state->samp_advertised[Sampler][Type] == Value)
2780 state->samp_advertised[Sampler][Type] = Value;
2781 nine_context_set_sampler_state(This, Sampler, Type, Value);