Searched refs:tex_stage (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_ff.h | 84 unsigned gen = (context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] >> 16) + 1; in nine_ff_get_projected_key() 85 unsigned dim = context->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & 0x7; in nine_ff_get_projected_key() 86 … unsigned proj = !!(context->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & D3DTTFF_PROJECTED); in nine_ff_get_projected_key()
|
D | nine_ff.c | 1672 unsigned gen = (context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] >> 16) + 1; in nine_ff_get_vs() 1673 unsigned idx = context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] & 7; in nine_ff_get_vs() 1686 dim = context->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & 0x7; in nine_ff_get_vs() 1736 key.ts[s].colorop = context->ff.tex_stage[s][D3DTSS_COLOROP]; in nine_ff_get_ps() 1737 key.ts[s].alphaop = context->ff.tex_stage[s][D3DTSS_ALPHAOP]; in nine_ff_get_ps() 1749 ((context->ff.tex_stage[s][D3DTSS_COLORARG0] == D3DTA_TEXTURE && in nine_ff_get_ps() 1751 (context->ff.tex_stage[s][D3DTSS_COLORARG1] == D3DTA_TEXTURE && in nine_ff_get_ps() 1753 (context->ff.tex_stage[s][D3DTSS_COLORARG2] == D3DTA_TEXTURE && in nine_ff_get_ps() 1764 if (context->ff.tex_stage[s][D3DTSS_COLORARG0] == D3DTA_TEXTURE || in nine_ff_get_ps() 1765 context->ff.tex_stage[s][D3DTSS_COLORARG1] == D3DTA_TEXTURE || in nine_ff_get_ps() [all …]
|
D | stateblock9.c | 319 if (mask->ff.changed.tex_stage[s][i / 32] & (1 << (i % 32))) in nine_state_copy_common() 320 dst->ff.tex_stage[s][i] = src->ff.tex_stage[s][i]; in nine_state_copy_common() 490 memcpy(dst->ff.tex_stage, src->ff.tex_stage, sizeof(dst->ff.tex_stage)); in nine_state_copy_common_all()
|
D | nine_state.c | 1965 context->ff.tex_stage[Stage][Type] = Value; in CSMT_ITEM_NO_WAIT() 1998 context->ff.changed.tex_stage[Stage][Type / 32] |= 1 << (Type % 32); in CSMT_ITEM_NO_WAIT() 2167 if (src->ff.changed.tex_stage[s][i / 32] & (1 << (i % 32))) in nine_context_apply_stateblock() 2168 nine_context_set_texture_stage_state(device, s, i, src->ff.tex_stage[s][i]); in nine_context_apply_stateblock() 2864 for (s = 0; s < ARRAY_SIZE(state->ff.tex_stage); ++s) { in nine_state_set_defaults() 2865 memcpy(&state->ff.tex_stage[s], nine_tex_stage_state_defaults, in nine_state_set_defaults() 2866 sizeof(state->ff.tex_stage[s])); in nine_state_set_defaults() 2867 state->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] = s; in nine_state_set_defaults() 2869 state->ff.tex_stage[0][D3DTSS_COLOROP] = D3DTOP_MODULATE; in nine_state_set_defaults() 2870 state->ff.tex_stage[0][D3DTSS_ALPHAOP] = D3DTOP_SELECTARG1; in nine_state_set_defaults() [all …]
|
D | nine_state.h | 145 … uint32_t tex_stage[NINE_MAX_TEXTURE_STAGES][(NINED3DTSS_COUNT + 31) / 32]; /* stateblocks only */ member 162 DWORD tex_stage[NINE_MAX_TEXTURE_STAGES][NINED3DTSS_COUNT]; member
|
D | device9.c | 2526 dst->ff.changed.tex_stage[s][0] |= 0xffffffff; in NineDevice9_CreateStateBlock() 2527 dst->ff.changed.tex_stage[s][1] |= 0xffffffff; in NineDevice9_CreateStateBlock() 2698 user_assert(Stage < ARRAY_SIZE(state->ff.tex_stage), D3DERR_INVALIDCALL); in NineDevice9_GetTextureStageState() 2699 user_assert(Type < ARRAY_SIZE(state->ff.tex_stage[0]), D3DERR_INVALIDCALL); in NineDevice9_GetTextureStageState() 2701 *pValue = state->ff.tex_stage[Stage][Type]; in NineDevice9_GetTextureStageState() 2717 user_assert(Stage < ARRAY_SIZE(state->ff.tex_stage), D3DERR_INVALIDCALL); in NineDevice9_SetTextureStageState() 2718 user_assert(Type < ARRAY_SIZE(state->ff.tex_stage[0]), D3DERR_INVALIDCALL); in NineDevice9_SetTextureStageState() 2720 state->ff.tex_stage[Stage][Type] = Value; in NineDevice9_SetTextureStageState() 2724 state->ff.changed.tex_stage[Stage][Type / 32] |= 1 << (Type % 32); in NineDevice9_SetTextureStageState()
|