Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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.c343 BYTE usage_idx; member
1954 return nine_d3d9_to_nine_declusage(dcl->usage, dcl->usage_idx); in sm1_to_nine_declusage()
1962 BYTE index = dcl->usage_idx; in sm1_declusage_to_tgsi()
2160 DUMP(" %s%i\n", sm1_declusage_names[sem.usage], sem.usage_idx); in DECL_SPECIAL()
2162 if (sem.usage | sem.usage_idx) in DECL_SPECIAL()
2163 DUMP(" %u[%u]\n", sem.usage, sem.usage_idx); in DECL_SPECIAL()
2196 nine_record_outputs(tx, sem.usage, sem.usage_idx, sem.reg.mask, sem.reg.idx); in DECL_SPECIAL()
2197 … if (tx->info->process_vertices && sem.usage == D3DDECLUSAGE_POSITION && sem.usage_idx == 0) { in DECL_SPECIAL()
3271 sem->usage_idx = (tok_usg & D3DSP_DCL_USAGEINDEX_MASK) >> D3DSP_DCL_USAGEINDEX_SHIFT; in sm1_read_semantic()