/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_fragprog.c | 78 * have no idea whether the constbuf changed in the meantime 80 if (nv30->fragprog.constbuf) { 81 struct pipe_resource *constbuf = nv30->fragprog.constbuf; local 82 uint32_t *cbuf = (uint32_t *)nv04_resource(constbuf)->data;
|
H A D | nv30_vertprog.c | 172 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); 181 float *constbuf = (float *)res->data; local 183 !memcmp(data->value, &constbuf[data->index * 4], 16)) 185 memcpy(data->value, &constbuf[data->index * 4], 16);
|
H A D | nv30_context.h | 75 struct pipe_resource *constbuf; member in struct:nv30_context::__anon13991 88 struct pipe_resource *constbuf; member in struct:nv30_context::__anon13992
|
H A D | nv30_draw.c | 398 if (nv30->vertprog.constbuf) { 399 void *map = nv04_resource(nv30->vertprog.constbuf)->data;
|
H A D | nv30_state.c | 337 pipe_resource_reference(&nv30->vertprog.constbuf, buf); 342 pipe_resource_reference(&nv30->fragprog.constbuf, buf);
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_mlaa.c | 59 static struct pipe_resource *constbuf, *areamaptex; variable in typeref:struct:pipe_resource 68 pipe->transfer_inline_write(pipe, constbuf, 0, PIPE_TRANSFER_WRITE, 102 pipe_set_constant_buffer(p->pipe, PIPE_SHADER_VERTEX, 0, constbuf); 103 pipe_set_constant_buffer(p->pipe, PIPE_SHADER_FRAGMENT, 0, constbuf); 218 constbuf = pipe_buffer_create(ppq->p->screen, PIPE_BIND_CONSTANT_BUFFER, 220 if (!constbuf) {
|
/external/mesa3d/src/gallium/tests/graw/ |
H A D | vs-test.c | 46 static struct pipe_resource *constbuf = NULL; variable in typeref:struct:pipe_resource 95 constbuf = screen->resource_create(screen, 97 if (constbuf == NULL) 104 constbuf, 115 constbuf);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_context.c | 90 if (!nv50->constbuf[s][i].user) 91 pipe_resource_reference(&nv50->constbuf[s][i].u.buf, NULL);
|
H A D | nv50_state.c | 760 if (nv50->constbuf[s][i].user) 761 nv50->constbuf[s][i].u.buf = NULL; 763 if (nv50->constbuf[s][i].u.buf) 766 pipe_resource_reference(&nv50->constbuf[s][i].u.buf, res); 768 nv50->constbuf[s][i].user = (cb && cb->user_buffer) ? TRUE : FALSE; 769 if (nv50->constbuf[s][i].user) { 770 nv50->constbuf[s][i].u.data = cb->user_buffer; 771 nv50->constbuf[s][i].size = cb->buffer_size; 775 nv50->constbuf[s][i].offset = cb->buffer_offset; 776 nv50->constbuf[ [all...] |
H A D | nv50_shader_state.c | 52 if (nv50->constbuf[s][i].user) { 55 unsigned words = nv50->constbuf[s][0].size / 4; 77 PUSH_DATAp(push, &nv50->constbuf[s][0].u.data[start * 4], nr); 84 nv04_resource(nv50->constbuf[s][i].u.buf); 92 PUSH_DATAh(push, res->address + nv50->constbuf[s][i].offset); 93 PUSH_DATA (push, res->address + nv50->constbuf[s][i].offset); 95 (nv50->constbuf[s][i].size & 0xffff));
|
H A D | nv50_context.h | 118 struct nv50_constbuf constbuf[3][NV50_MAX_PIPE_CONSTBUFS]; member in struct:nv50_context
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_context.c | 76 if (!nvc0->constbuf[s][i].user) 77 pipe_resource_reference(&nvc0->constbuf[s][i].u.buf, NULL);
|
H A D | nvc0_state_validate.c | 365 if (nvc0->constbuf[s][i].user) { 368 const unsigned size = nvc0->constbuf[s][0].size; 370 assert(nvc0->constbuf[s][0].u.data); 385 nvc0->constbuf[s][0].u.data); 388 nv04_resource(nvc0->constbuf[s][i].u.buf); 391 PUSH_DATA (push, nvc0->constbuf[s][i].size); 392 PUSH_DATAh(push, res->address + nvc0->constbuf[s][i].offset); 393 PUSH_DATA (push, res->address + nvc0->constbuf[s][i].offset);
|
H A D | nvc0_state.c | 658 if (nvc0->constbuf[s][i].user) 659 nvc0->constbuf[s][i].u.buf = NULL; 661 if (nvc0->constbuf[s][i].u.buf) 664 pipe_resource_reference(&nvc0->constbuf[s][i].u.buf, res); 666 nvc0->constbuf[s][i].user = (cb && cb->user_buffer) ? TRUE : FALSE; 667 if (nvc0->constbuf[s][i].user) { 668 nvc0->constbuf[s][i].u.data = cb->user_buffer; 669 nvc0->constbuf[s][i].size = cb->buffer_size; 672 nvc0->constbuf[s][i].offset = cb->buffer_offset; 673 nvc0->constbuf[ [all...] |
H A D | nvc0_context.h | 106 uint8_t c14_bound; /* whether immediate array constbuf is bound */ 124 struct nvc0_constbuf constbuf[5][NVC0_MAX_PIPE_CONSTBUFS]; member in struct:nvc0_context
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_exec.c | 1066 const uint constbuf = index2D->i[i]; local 1067 const uint *buf = (const uint *)mach->Consts[constbuf]; 1070 if (pos < 0 || pos >= mach->ConstsSize[constbuf]) {
|