Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexshader9.c98 This->lconstf = info.lconstf; in NineVertexShader9_ctor()
147 FREE(This->lconstf.data); in NineVertexShader9_dtor()
148 FREE(This->lconstf.ranges); in NineVertexShader9_dtor()
Dpixelshader9.c86 assert(info.lconstf.data == NULL); in NinePixelShader9_ctor()
87 assert(info.lconstf.ranges == NULL); in NinePixelShader9_ctor()
Dnine_shader.c505 struct sm1_local_const *lconstf; member
564 if (tx->lconstf[i].idx == index) { in tx_lconstf()
565 *src = tx->lconstf[i].reg; in tx_lconstf()
614 if (tx->lconstf[n].idx == index) in tx_set_lconstf()
618 tx->lconstf = REALLOC(tx->lconstf, in tx_set_lconstf()
619 (n + 0) * sizeof(tx->lconstf[0]), in tx_set_lconstf()
620 (n + 8) * sizeof(tx->lconstf[0])); in tx_set_lconstf()
621 assert(tx->lconstf); in tx_set_lconstf()
625 tx->lconstf[n].idx = index; in tx_set_lconstf()
626 tx->lconstf[n].reg = ureg_imm4f(tx->ureg, f[0], f[1], f[2], f[3]); in tx_set_lconstf()
[all …]
Dvertexshader9.h60 struct nine_lconstf lconstf; member
Dnine_state.c368 if (context->vs->lconstf.ranges) { in prepare_vs_constants_userbuf_swvp()
369 const struct nine_lconstf *lconstf = &(context->vs->lconstf); in prepare_vs_constants_userbuf_swvp() local
370 const struct nine_range *r = lconstf->ranges; in prepare_vs_constants_userbuf_swvp()
378 memcpy(&dst[p * 4], &lconstf->data[n * 4], c * 4 * sizeof(float)); in prepare_vs_constants_userbuf_swvp()
458 if (context->vs->lconstf.ranges) { in prepare_vs_constants_userbuf()
460 const struct nine_lconstf *lconstf = &(context->vs->lconstf); in prepare_vs_constants_userbuf() local
461 const struct nine_range *r = lconstf->ranges; in prepare_vs_constants_userbuf()
469 memcpy(&dst[p * 4], &lconstf->data[n * 4], c * 4 * sizeof(float)); in prepare_vs_constants_userbuf()
3258 if (state->vs->lconstf.ranges) { in update_vs_constants_sw()
3259 const struct nine_lconstf *lconstf = &device->state.vs->lconstf; in update_vs_constants_sw() local
[all …]
Dnine_shader.h79 struct nine_lconstf lconstf; /* out, NOTE: members to be free'd by user */ member