Lines Matching refs:mapped_unit
450 DWORD mapped_unit = tex_unit_map[i];
451 if (mapped_unit != WINED3D_UNMAPPED_STAGE && mapped_unit < gl_info->limits.fragment_samplers)
453 TRACE("Loading %s for texture %d\n", sampler_name, mapped_unit);
454 GL_EXTCALL(glUniform1iARB(name_loc, mapped_unit));
457 ERR("Trying to load sampler %s on unsupported unit %d\n", sampler_name, mapped_unit);
475 DWORD mapped_unit = tex_unit_map[MAX_FRAGMENT_SAMPLERS + i];
476 if (mapped_unit != WINED3D_UNMAPPED_STAGE && mapped_unit < gl_info->limits.combined_samplers)
478 TRACE("Loading %s for texture %d\n", sampler_name, mapped_unit);
479 GL_EXTCALL(glUniform1iARB(name_loc, mapped_unit));
482 ERR("Trying to load sampler %s on unsupported unit %d\n", sampler_name, mapped_unit);