Home
last modified time | relevance | path

Searched refs:usage_idx (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.c94 nine_d3ddeclusage_check(unsigned usage, unsigned usage_idx) in nine_d3ddeclusage_check() argument
111 return usage_idx <= 0; in nine_d3ddeclusage_check()
113 return usage_idx <= 15; in nine_d3ddeclusage_check()
120 #define NINE_DECLUSAGE_CASEi(n) case D3DDECLUSAGE_##n: return NINE_DECLUSAGE_i(n, usage_idx)
122 nine_d3d9_to_nine_declusage(unsigned usage, unsigned usage_idx) in nine_d3d9_to_nine_declusage() argument
124 if (!nine_d3ddeclusage_check(usage, usage_idx)) in nine_d3d9_to_nine_declusage()
125 ERR("D3DDECLUSAGE_%u[%u]\n",usage,usage_idx); in nine_d3d9_to_nine_declusage()
126 assert(nine_d3ddeclusage_check(usage, usage_idx)); in nine_d3d9_to_nine_declusage()
Dnine_shader.c338 BYTE usage_idx; member
2051 return nine_d3d9_to_nine_declusage(dcl->usage, dcl->usage_idx); in sm1_to_nine_declusage()
2059 BYTE index = dcl->usage_idx; in sm1_declusage_to_tgsi()
2259 DUMP(" %s%i\n", sm1_declusage_names[sem.usage], sem.usage_idx); in DECL_SPECIAL()
2261 if (sem.usage | sem.usage_idx) in DECL_SPECIAL()
2262 DUMP(" %u[%u]\n", sem.usage, sem.usage_idx); in DECL_SPECIAL()
2295 nine_record_outputs(tx, sem.usage, sem.usage_idx, sem.reg.mask, sem.reg.idx); in DECL_SPECIAL()
2296 … if (tx->info->process_vertices && sem.usage == D3DDECLUSAGE_POSITION && sem.usage_idx == 0) { in DECL_SPECIAL()
3451 sem->usage_idx = (tok_usg & D3DSP_DCL_USAGEINDEX_MASK) >> D3DSP_DCL_USAGEINDEX_SHIFT; in sm1_read_semantic()