Lines Matching refs:lconst
604 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst));
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));
636 if (!lconst) return E_OUTOFMEMORY;
638 lconst->idx = ins.dst[0].reg.idx[0].offset;
639 memcpy(lconst->value, ins.src[0].reg.immconst_data, 4 * sizeof(DWORD));
641 list_add_head(&shader->constantsI, &lconst->entry);
642 reg_maps->local_int_consts |= (1 << lconst->idx);
646 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst));
647 if (!lconst) return E_OUTOFMEMORY;
649 lconst->idx = ins.dst[0].reg.idx[0].offset;
650 memcpy(lconst->value, ins.src[0].reg.immconst_data, sizeof(DWORD));
652 list_add_head(&shader->constantsB, &lconst->entry);
653 reg_maps->local_bool_consts |= (1 << lconst->idx);
1812 struct wined3d_shader_lconst *lconst = HeapAlloc(GetProcessHeap(), 0, sizeof(*lconst));
1814 if (!lconst)
1817 lconst->idx = i;
1818 value = (float *)lconst->value;
1820 list_add_head(&shader->constantsF, &lconst->entry);