Home
last modified time | relevance | path

Searched refs:tex_stage (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/nine/
Dstateblock9.c299 if (mask->ff.changed.tex_stage[s][i / 32] & (1 << (i % 32))) in nine_state_copy_common()
300 dst->ff.tex_stage[s][i] = src->ff.tex_stage[s][i]; in nine_state_copy_common()
303 dst->ff.changed.tex_stage[s][0] |= in nine_state_copy_common()
304 mask->ff.changed.tex_stage[s][0]; in nine_state_copy_common()
305 dst->ff.changed.tex_stage[s][1] |= in nine_state_copy_common()
306 mask->ff.changed.tex_stage[s][1]; in nine_state_copy_common()
469 memcpy(dst->ff.tex_stage, src->ff.tex_stage, sizeof(dst->ff.tex_stage)); in nine_state_copy_common_all()
471 memcpy(dst->ff.changed.tex_stage, in nine_state_copy_common_all()
472 src->ff.changed.tex_stage, sizeof(dst->ff.changed.tex_stage)); in nine_state_copy_common_all()
Dnine_ff.h84 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()
Dnine_ff.c1664 unsigned gen = (context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] >> 16) + 1; in nine_ff_get_vs()
1665 unsigned idx = context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] & 7; in nine_ff_get_vs()
1678 dim = context->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & 0x7; in nine_ff_get_vs()
1731 key.ts[s].colorop = context->ff.tex_stage[s][D3DTSS_COLOROP]; in nine_ff_get_ps()
1732 key.ts[s].alphaop = context->ff.tex_stage[s][D3DTSS_ALPHAOP]; in nine_ff_get_ps()
1744 ((context->ff.tex_stage[s][D3DTSS_COLORARG0] == D3DTA_TEXTURE && in nine_ff_get_ps()
1746 (context->ff.tex_stage[s][D3DTSS_COLORARG1] == D3DTA_TEXTURE && in nine_ff_get_ps()
1748 (context->ff.tex_stage[s][D3DTSS_COLORARG2] == D3DTA_TEXTURE && in nine_ff_get_ps()
1759 if (context->ff.tex_stage[s][D3DTSS_COLORARG0] == D3DTA_TEXTURE || in nine_ff_get_ps()
1760 context->ff.tex_stage[s][D3DTSS_COLORARG1] == D3DTA_TEXTURE || in nine_ff_get_ps()
[all …]
Dnine_state.c1843 context->ff.tex_stage[Stage][Type] = Value; in CSMT_ITEM_NO_WAIT()
1876 context->ff.changed.tex_stage[Stage][Type / 32] |= 1 << (Type % 32); in CSMT_ITEM_NO_WAIT()
2082 if (src->ff.changed.tex_stage[s][i / 32] & (1 << (i % 32)))
2083 context->ff.tex_stage[s][i] = src->ff.tex_stage[s][i];
2275 if (src->ff.changed.tex_stage[s][i / 32] & (1 << (i % 32))) in nine_context_apply_stateblock()
2276 nine_context_set_texture_stage_state(device, s, i, src->ff.tex_stage[s][i]); in nine_context_apply_stateblock()
2943 for (s = 0; s < ARRAY_SIZE(state->ff.tex_stage); ++s) { in nine_state_set_defaults()
2944 memcpy(&state->ff.tex_stage[s], nine_tex_stage_state_defaults, in nine_state_set_defaults()
2945 sizeof(state->ff.tex_stage[s])); in nine_state_set_defaults()
2946 state->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] = s; in nine_state_set_defaults()
[all …]
Dnine_state.h142 … uint32_t tex_stage[NINE_MAX_TEXTURE_STAGES][(NINED3DTSS_COUNT + 31) / 32]; /* stateblocks only */ member
159 DWORD tex_stage[NINE_MAX_TEXTURE_STAGES][NINED3DTSS_COUNT]; member
Ddevice9.c2331 dst->ff.changed.tex_stage[s][0] |= 0xffffffff; in NineDevice9_CreateStateBlock()
2332 dst->ff.changed.tex_stage[s][1] |= 0xffffffff; in NineDevice9_CreateStateBlock()
2481 user_assert(Stage < ARRAY_SIZE(state->ff.tex_stage), D3DERR_INVALIDCALL); in NineDevice9_GetTextureStageState()
2482 user_assert(Type < ARRAY_SIZE(state->ff.tex_stage[0]), D3DERR_INVALIDCALL); in NineDevice9_GetTextureStageState()
2484 *pValue = state->ff.tex_stage[Stage][Type]; in NineDevice9_GetTextureStageState()
2500 user_assert(Stage < ARRAY_SIZE(state->ff.tex_stage), D3DERR_INVALIDCALL); in NineDevice9_SetTextureStageState()
2501 user_assert(Type < ARRAY_SIZE(state->ff.tex_stage[0]), D3DERR_INVALIDCALL); in NineDevice9_SetTextureStageState()
2503 state->ff.tex_stage[Stage][Type] = Value; in NineDevice9_SetTextureStageState()
2509 state->ff.changed.tex_stage[Stage][Type / 32] |= 1 << (Type % 32); in NineDevice9_SetTextureStageState()