Searched refs:usage_idx (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | vertexdeclaration9.c | 94 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()
|
D | nine_shader.c | 343 BYTE usage_idx; member 1942 return nine_d3d9_to_nine_declusage(dcl->usage, dcl->usage_idx); in sm1_to_nine_declusage() 1950 BYTE index = dcl->usage_idx; in sm1_declusage_to_tgsi() 2148 DUMP(" %s%i\n", sm1_declusage_names[sem.usage], sem.usage_idx); in DECL_SPECIAL() 2150 if (sem.usage | sem.usage_idx) in DECL_SPECIAL() 2151 DUMP(" %u[%u]\n", sem.usage, sem.usage_idx); in DECL_SPECIAL() 2184 nine_record_outputs(tx, sem.usage, sem.usage_idx, sem.reg.mask, sem.reg.idx); in DECL_SPECIAL() 2185 … if (tx->info->process_vertices && sem.usage == D3DDECLUSAGE_POSITION && sem.usage_idx == 0) { in DECL_SPECIAL() 3259 sem->usage_idx = (tok_usg & D3DSP_DCL_USAGEINDEX_MASK) >> D3DSP_DCL_USAGEINDEX_SHIFT; in sm1_read_semantic()
|