Searched refs:lconst (Results 1 - 11 of 11) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dshader.c604 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst)); local
606 if (!lconst) return E_OUTOFMEMORY;
608 lconst->idx = ins.dst[0].reg.idx[0].offset;
609 memcpy(lconst->value, ins.src[0].reg.immconst_data, 4 * sizeof(DWORD));
610 value = (float *)lconst->value;
625 list_add_head(&shader->constantsF, &lconst->entry);
635 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst)); local
636 if (!lconst) retur
646 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst)); local
1812 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst)); local
[all...]
H A Dglsl_shader.c619 const struct wined3d_shader_lconst *lconst; local
635 LIST_FOR_EACH_ENTRY(lconst, &shader->constantsF, struct wined3d_shader_lconst, entry)
637 GL_EXTCALL(glUniform4fvARB(constant_locations[lconst->idx], 1, (const GLfloat *)lconst->value));
665 const struct wined3d_shader_lconst *lconst = LIST_ENTRY(ptr, const struct wined3d_shader_lconst, entry); local
666 unsigned int idx = lconst->idx;
667 const GLint *values = (const GLint *)lconst->value;
710 const struct wined3d_shader_lconst *lconst = LIST_ENTRY(ptr, const struct wined3d_shader_lconst, entry); local
711 unsigned int idx = lconst->idx;
712 const GLint *values = (const GLint *)lconst
1003 const struct wined3d_shader_lconst *lconst; local
[all...]
H A Darb_program_shader.c398 struct wined3d_shader_lconst *lconst; local
488 LIST_FOR_EACH_ENTRY(lconst, &shader->constantsF, struct wined3d_shader_lconst, entry)
490 GLfloat* values = (GLfloat*)lconst->value;
491 TRACE_(d3d_constants)("Loading local constants %i: %f, %f, %f, %f\n", lconst->idx,
497 LIST_FOR_EACH_ENTRY(lconst, &shader->constantsF, struct wined3d_shader_lconst, entry)
499 dirty_consts[lconst->idx] = 1; /* Dirtify so the non-immediate constant overwrites it next time */
500 ret = max(ret, lconst->idx + 1);
501 GL_EXTCALL(glProgramEnvParameter4fvARB(target_type, lconst->idx, (GLfloat*)lconst->value));
782 const struct wined3d_shader_lconst *lconst; local
[all...]
H A Dwined3d_private.h3022 struct wined3d_shader_lconst *lconst; local
3027 LIST_FOR_EACH_ENTRY(lconst, &shader->constantsF, struct wined3d_shader_lconst, entry)
3029 if (lconst->idx == reg)
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dshader.c535 local_constant *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
536 if (!lconst) return E_OUTOFMEMORY;
539 lconst->idx = dst.reg.idx;
541 memcpy(lconst->value, ptr, 4 * sizeof(DWORD));
547 float *value = (float *)lconst->value;
558 list_add_head(&shader->baseShader.constantsF, &lconst->entry);
565 local_constant *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
566 if (!lconst) return E_OUTOFMEMORY;
569 lconst->idx = dst.reg.idx;
571 memcpy(lconst
582 local_constant *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
1638 local_constant* lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
[all...]
H A Dglsl_shader.c631 const local_constant *lconst; local
647 LIST_FOR_EACH_ENTRY(lconst, &This->baseShader.constantsF, local_constant, entry)
649 GLint location = constant_locations[lconst->idx];
651 if (location != -1) GL_EXTCALL(glUniform4fvARB(location, 1, (const GLfloat *)lconst->value));
679 const struct local_constant *lconst = LIST_ENTRY(ptr, const struct local_constant, entry); local
680 unsigned int idx = lconst->idx;
681 const GLint *values = (const GLint *)lconst->value;
748 const struct local_constant *lconst = LIST_ENTRY(ptr, const struct local_constant, entry); local
749 unsigned int idx = lconst->idx;
750 const GLint *values = (const GLint *)lconst
1039 const local_constant *lconst; local
4268 const local_constant *lconst; local
[all...]
H A Dwined3d_private.h3234 local_constant* lconst; local
3237 LIST_FOR_EACH_ENTRY(lconst, &This->baseShader.constantsF, local_constant, entry) {
3238 if(lconst->idx == reg) return TRUE;
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dshader.c535 local_constant *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
536 if (!lconst) return E_OUTOFMEMORY;
539 lconst->idx = dst.reg.idx;
541 memcpy(lconst->value, ptr, 4 * sizeof(DWORD));
547 float *value = (float *)lconst->value;
558 list_add_head(&shader->baseShader.constantsF, &lconst->entry);
565 local_constant *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
566 if (!lconst) return E_OUTOFMEMORY;
569 lconst->idx = dst.reg.idx;
571 memcpy(lconst
582 local_constant *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
1634 local_constant* lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(local_constant)); local
[all...]
H A Darb_program_shader.c325 local_constant* lconst; local
413 LIST_FOR_EACH_ENTRY(lconst, &This->baseShader.constantsF, local_constant, entry) {
414 GLfloat* values = (GLfloat*)lconst->value;
415 TRACE_(d3d_constants)("Loading local constants %i: %f, %f, %f, %f\n", lconst->idx,
421 LIST_FOR_EACH_ENTRY(lconst, &This->baseShader.constantsF, local_constant, entry) {
422 dirty_consts[lconst->idx] = 1; /* Dirtify so the non-immediate constant overwrites it next time */
423 ret = max(ret, lconst->idx + 1);
424 GL_EXTCALL(glProgramEnvParameter4fvARB(target_type, lconst->idx, (GLfloat*)lconst->value));
644 const local_constant *lconst; local
669 const local_constant *lconst; local
3330 const local_constant *lconst; local
3919 const local_constant *lconst; local
[all...]
H A Dglsl_shader.c614 const local_constant *lconst; local
630 LIST_FOR_EACH_ENTRY(lconst, &This->baseShader.constantsF, local_constant, entry)
632 GLint location = constant_locations[lconst->idx];
634 if (location != -1) GL_EXTCALL(glUniform4fvARB(location, 1, (const GLfloat *)lconst->value));
662 const struct local_constant *lconst = LIST_ENTRY(ptr, const struct local_constant, entry); local
663 unsigned int idx = lconst->idx;
664 const GLint *values = (const GLint *)lconst->value;
731 const struct local_constant *lconst = LIST_ENTRY(ptr, const struct local_constant, entry); local
732 unsigned int idx = lconst->idx;
733 const GLint *values = (const GLint *)lconst
1018 const local_constant *lconst; local
4145 const local_constant *lconst; local
[all...]
H A Dwined3d_private.h3193 local_constant* lconst; local
3196 LIST_FOR_EACH_ENTRY(lconst, &This->baseShader.constantsF, local_constant, entry) {
3197 if(lconst->idx == reg) return TRUE;

Completed in 152 milliseconds