Home | History | Annotate | Download | only in rs

Lines Matching full:alloc

150 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
151 if (alloc != NULL) {
153 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u",
158 if (alloc->getType() != mConstantTypes[slot].get()) {
159 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch",
165 if (mConstants[slot].get() == alloc) {
171 mConstants[slot].set(alloc);
172 mHal.state.constants[slot] = alloc;
173 if (alloc) {
174 alloc->addProgramToDirty(this);