Home
last modified time | relevance | path

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

/external/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
2031 return nine_d3d9_to_nine_declusage(dcl->usage, dcl->usage_idx); in sm1_to_nine_declusage()
2039 BYTE index = dcl->usage_idx; in sm1_declusage_to_tgsi()
2239 DUMP(" %s%i\n", sm1_declusage_names[sem.usage], sem.usage_idx); in DECL_SPECIAL()
2241 if (sem.usage | sem.usage_idx) in DECL_SPECIAL()
2242 DUMP(" %u[%u]\n", sem.usage, sem.usage_idx); in DECL_SPECIAL()
2275 nine_record_outputs(tx, sem.usage, sem.usage_idx, sem.reg.mask, sem.reg.idx); in DECL_SPECIAL()
2276 … if (tx->info->process_vertices && sem.usage == D3DDECLUSAGE_POSITION && sem.usage_idx == 0) { in DECL_SPECIAL()
3423 sem->usage_idx = (tok_usg & D3DSP_DCL_USAGEINDEX_MASK) >> D3DSP_DCL_USAGEINDEX_SHIFT; in sm1_read_semantic()