| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_tests.h | 42 struct pipe_resource *constbuf);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_tests.h | 42 struct pipe_resource *constbuf);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv30_fragprog.c | 83 * have no idea whether the constbuf changed in the meantime 85 if (nv30->fragprog.constbuf) { 86 struct pipe_resource *constbuf = nv30->fragprog.constbuf; local in function:nv30_fragprog_validate 87 uint32_t *cbuf = (uint32_t *)nv04_resource(constbuf)->data;
|
| H A D | nv30_vertprog.c | 174 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); 183 float *constbuf = (float *)res->data; local in function:nv30_vertprog_validate 185 !memcmp(data->value, &constbuf[data->index * 4], 16)) 187 memcpy(data->value, &constbuf[data->index * 4], 16);
|
| H A D | nv30_context.h | 78 struct pipe_resource *constbuf; member in struct:nv30_context::__anon93f3a0ba0308 91 struct pipe_resource *constbuf; member in struct:nv30_context::__anon93f3a0ba0408
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv30_fragprog.c | 83 * have no idea whether the constbuf changed in the meantime 85 if (nv30->fragprog.constbuf) { 86 struct pipe_resource *constbuf = nv30->fragprog.constbuf; local in function:nv30_fragprog_validate 87 uint32_t *cbuf = (uint32_t *)nv04_resource(constbuf)->data;
|
| H A D | nv30_vertprog.c | 174 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); 183 float *constbuf = (float *)res->data; local in function:nv30_vertprog_validate 185 !memcmp(data->value, &constbuf[data->index * 4], 16)) 187 memcpy(data->value, &constbuf[data->index * 4], 16);
|
| H A D | nv30_context.h | 78 struct pipe_resource *constbuf; member in struct:nv30_context::__anon583e252d0308 91 struct pipe_resource *constbuf; member in struct:nv30_context::__anon583e252d0408
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ir3/ |
| H A D | ir3_gallium.c | 226 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) 230 if (constbuf->enabled_mask & (1 << index)) { 231 struct pipe_constant_buffer *cb = &constbuf->cb[index]; 263 struct pipe_constant_buffer *cb = &constbuf->cb[i]; 266 constbuf->enabled_mask & (1 << i)) { 281 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) 291 struct pipe_constant_buffer *cb = &constbuf->cb[index]; 294 if ((constbuf->enabled_mask & (1 << index)) && cb->buffer) { 503 struct fd_constbuf_stateobj *constbuf; local in function:emit_common_consts 506 constbuf 225 emit_user_consts(struct fd_context * ctx,const struct ir3_shader_variant * v,struct fd_ringbuffer * ring,struct fd_constbuf_stateobj * constbuf) argument 280 emit_ubos(struct fd_context * ctx,const struct ir3_shader_variant * v,struct fd_ringbuffer * ring,struct fd_constbuf_stateobj * constbuf) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ir3/ |
| H A D | ir3_const.h | 157 struct fd_constbuf_stateobj *constbuf) 165 if (!(constbuf->enabled_mask & (1 << ubo)) || 169 struct pipe_constant_buffer *cb = &constbuf->cb[ubo]; 205 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) 228 struct pipe_constant_buffer *cb = &constbuf->cb[i]; 230 /* If we have user pointers (constbuf 0, aka GL uniforms), upload 231 * them to a buffer now, and save it in the constbuf so that we 241 if ((constbuf->enabled_mask & (1 << i)) && cb->buffer) { 415 struct fd_constbuf_stateobj *constbuf; local in function:emit_common_consts 418 constbuf 154 ir3_emit_user_consts(struct fd_screen * screen,const struct ir3_shader_variant * v,struct fd_ringbuffer * ring,struct fd_constbuf_stateobj * constbuf) argument 204 ir3_emit_ubos(struct fd_context * ctx,const struct ir3_shader_variant * v,struct fd_ringbuffer * ring,struct fd_constbuf_stateobj * constbuf) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nve4_compute.c | 396 if (nvc0->constbuf[s][i].user) { 399 const unsigned size = nvc0->constbuf[s][0].size; 401 assert(nvc0->constbuf[s][0].u.data); 411 PUSH_DATAp(push, nvc0->constbuf[s][0].u.data, size / 4); 415 nv04_resource(nvc0->constbuf[s][i].u.buf); 431 PUSH_DATA (push, res->address + nvc0->constbuf[s][i].offset); 432 PUSH_DATAh(push, res->address + nvc0->constbuf[s][i].offset); 433 PUSH_DATA (push, nvc0->constbuf[s][i].size); 606 if (nvc0->constbuf[5][i].user || !nvc0->constbuf[ [all...] |
| H A D | nvc0_compute.c | 199 if (nvc0->constbuf[s][i].user) { 202 const unsigned size = nvc0->constbuf[s][0].size; 204 assert(nvc0->constbuf[s][0].u.data); 218 nvc0->constbuf[s][0].u.data); 221 nv04_resource(nvc0->constbuf[s][i].u.buf); 224 PUSH_DATA (push, nvc0->constbuf[s][i].size); 225 PUSH_DATAh(push, res->address + nvc0->constbuf[s][i].offset); 226 PUSH_DATA (push, res->address + nvc0->constbuf[s][i].offset);
|
| H A D | nvc0_state.c | 796 if (nvc0->constbuf[s][i].user) 797 nvc0->constbuf[s][i].u.buf = NULL; 799 if (nvc0->constbuf[s][i].u.buf) 804 if (nvc0->constbuf[s][i].user) 805 nvc0->constbuf[s][i].u.buf = NULL; 807 if (nvc0->constbuf[s][i].u.buf) 814 if (nvc0->constbuf[s][i].u.buf) 815 nv04_resource(nvc0->constbuf[s][i].u.buf)->cb_bindings[s] &= ~(1 << i); 818 pipe_resource_reference(&nvc0->constbuf[s][i].u.buf, NULL); 819 nvc0->constbuf[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_atom_constbuf.c | 153 gl_constant_value *constbuf = params->ParameterValues; local in function:st_upload_constants 164 values[i] = constbuf[prog->info.inlinable_uniform_dw_offsets[i]].u; 188 gl_constant_value *constbuf = params->ParameterValues; local in function:st_upload_constants 191 values[i] = constbuf[prog->info.inlinable_uniform_dw_offsets[i]].u;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nve4_compute.c | 372 if (nvc0->constbuf[s][i].user) { 375 const unsigned size = nvc0->constbuf[s][0].size; 377 assert(nvc0->constbuf[s][0].u.data); 387 PUSH_DATAp(push, nvc0->constbuf[s][0].u.data, size / 4); 391 nv04_resource(nvc0->constbuf[s][i].u.buf); 407 PUSH_DATA (push, res->address + nvc0->constbuf[s][i].offset); 408 PUSH_DATAh(push, res->address + nvc0->constbuf[s][i].offset); 409 PUSH_DATA (push, nvc0->constbuf[s][i].size); 561 if (nvc0->constbuf[5][i].user || !nvc0->constbuf[ [all...] |
| H A D | nvc0_compute.c | 199 if (nvc0->constbuf[s][i].user) { 202 const unsigned size = nvc0->constbuf[s][0].size; 204 assert(nvc0->constbuf[s][0].u.data); 218 nvc0->constbuf[s][0].u.data); 221 nv04_resource(nvc0->constbuf[s][i].u.buf); 224 PUSH_DATA (push, nvc0->constbuf[s][i].size); 225 PUSH_DATAh(push, res->address + nvc0->constbuf[s][i].offset); 226 PUSH_DATA (push, res->address + nvc0->constbuf[s][i].offset);
|
| H A D | nvc0_context.c | 82 if (nvc0->constbuf[s][i].user) 85 res = nvc0->constbuf[s][i].u.buf; 156 if (!nvc0->constbuf[s][i].user) 157 pipe_resource_reference(&nvc0->constbuf[s][i].u.buf, NULL); 300 if (!nvc0->constbuf[s][i].user && 301 nvc0->constbuf[s][i].u.buf == res) { 436 /* Do not bind the COMPUTE driver constbuf at screen initialization because
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_draw.c | 215 foreach_bit(i, ctx->constbuf[PIPE_SHADER_VERTEX].enabled_mask) 216 resource_read(batch, ctx->constbuf[PIPE_SHADER_VERTEX].cb[i].buffer); 220 foreach_bit(i, ctx->constbuf[PIPE_SHADER_FRAGMENT].enabled_mask) 221 resource_read(batch, ctx->constbuf[PIPE_SHADER_FRAGMENT].cb[i].buffer); 446 foreach_bit(i, ctx->constbuf[PIPE_SHADER_COMPUTE].enabled_mask) 447 resource_read(batch, ctx->constbuf[PIPE_SHADER_COMPUTE].cb[i].buffer);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/ |
| H A D | ShaderParse.c | 309 opcode->customdata.u.constbuf.count = *curr - 2; 312 opcode->customdata.u.constbuf.data = MALLOC(opcode->customdata.u.constbuf.count * sizeof(unsigned)); 313 assert(opcode->customdata.u.constbuf.data); 315 memcpy(opcode->customdata.u.constbuf.data, 317 opcode->customdata.u.constbuf.count * sizeof(unsigned)); 318 curr += opcode->customdata.u.constbuf.count; 607 FREE(opcode->customdata.u.constbuf.data);
|
| H A D | ShaderParse.h | 60 struct dx10_imm_const_buf constbuf; member in union:dx10_customdata::__anona079e0f1010a
|
| /xsrc/external/mit/MesaLib.old/dist/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) 103 ctx->buffer_subdata(ctx, constbuf, 109 constbuf);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_const.c | 209 struct fd_ringbuffer *ring, struct fd_constbuf_stateobj *constbuf) 235 struct pipe_constant_buffer *cb = &constbuf->cb[i]; 237 /* If we have user pointers (constbuf 0, aka GL uniforms), upload them 238 * to a buffer now, and save it in the constbuf so that we don't have 308 &ctx->constbuf[types[i]]); 309 fd6_emit_ubos(ctx, variants[i], constobj, &ctx->constbuf[types[i]]); 341 fd6_emit_ubos(ctx, v, ring, &ctx->constbuf[PIPE_SHADER_COMPUTE]); 208 fd6_emit_ubos(struct fd_context * ctx,const struct ir3_shader_variant * v,struct fd_ringbuffer * ring,struct fd_constbuf_stateobj * constbuf) argument
|
| /xsrc/external/mit/MesaLib/dist/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) 103 ctx->buffer_subdata(ctx, constbuf, 109 constbuf);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_state.c | 889 if (nv50->constbuf[s][i].user) 890 nv50->constbuf[s][i].u.buf = NULL; 892 if (nv50->constbuf[s][i].u.buf) 897 if (nv50->constbuf[s][i].user) 898 nv50->constbuf[s][i].u.buf = NULL; 900 if (nv50->constbuf[s][i].u.buf) 907 if (nv50->constbuf[s][i].u.buf) 908 nv04_resource(nv50->constbuf[s][i].u.buf)->cb_bindings[s] &= ~(1 << i); 911 pipe_resource_reference(&nv50->constbuf[s][i].u.buf, NULL); 912 nv50->constbuf[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_context.c | 79 if (nv50->constbuf[s][i].user) 82 res = nv50->constbuf[s][i].u.buf; 151 if (!nv50->constbuf[s][i].user) 152 pipe_resource_reference(&nv50->constbuf[s][i].u.buf, NULL); 252 if (!nv50->constbuf[s][i].user && 253 nv50->constbuf[s][i].u.buf == res) {
|