Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/nine/
Dvertexshader9.c104 This->lconstf = info.lconstf; in NineVertexShader9_ctor()
164 FREE(This->lconstf.data); in NineVertexShader9_dtor()
165 FREE(This->lconstf.ranges); in NineVertexShader9_dtor()
Dnine_shader.c505 struct sm1_local_const *lconstf; member
652 if (tx->lconstf[i].idx == index) { in tx_lconstf()
653 *src = tx->lconstf[i].reg; in tx_lconstf()
702 if (tx->lconstf[n].idx == index) in tx_set_lconstf()
706 tx->lconstf = REALLOC(tx->lconstf, in tx_set_lconstf()
707 (n + 0) * sizeof(tx->lconstf[0]), in tx_set_lconstf()
708 (n + 8) * sizeof(tx->lconstf[0])); in tx_set_lconstf()
709 assert(tx->lconstf); in tx_set_lconstf()
713 tx->lconstf[n].idx = index; in tx_set_lconstf()
714 tx->lconstf[n].reg = ureg_imm4f(tx->ureg, f[0], f[1], f[2], f[3]); in tx_set_lconstf()
[all …]
Dpixelshader9.c102 assert(info.lconstf.data == NULL); in NinePixelShader9_ctor()
103 assert(info.lconstf.ranges == NULL); in NinePixelShader9_ctor()
Dvertexshader9.h58 struct nine_lconstf lconstf; member
Dnine_state.c373 if (context->vs->lconstf.ranges) { in prepare_vs_constants_userbuf_swvp()
374 const struct nine_lconstf *lconstf = &(context->vs->lconstf); in prepare_vs_constants_userbuf_swvp() local
375 const struct nine_range *r = lconstf->ranges; in prepare_vs_constants_userbuf_swvp()
383 memcpy(&dst[p * 4], &lconstf->data[n * 4], c * 4 * sizeof(float)); in prepare_vs_constants_userbuf_swvp()
464 if (context->vs->lconstf.ranges) { in prepare_vs_constants_userbuf()
466 const struct nine_lconstf *lconstf = &(context->vs->lconstf); in prepare_vs_constants_userbuf() local
467 const struct nine_range *r = lconstf->ranges; in prepare_vs_constants_userbuf()
475 memcpy(&dst[p * 4], &lconstf->data[n * 4], c * 4 * sizeof(float)); in prepare_vs_constants_userbuf()
3123 if (state->vs->lconstf.ranges) { in update_vs_constants_sw()
3124 const struct nine_lconstf *lconstf = &device->state.vs->lconstf; in update_vs_constants_sw() local
[all …]
Dnine_shader.h88 struct nine_lconstf lconstf; /* out, NOTE: members to be free'd by user */ member