Lines Matching defs:mapped_stage
493 DWORD mapped_stage = device->texUnitMap[stage];
501 if (stage != mapped_stage) WARN("Using non 1:1 mapping: %d -> %d!\n", stage, mapped_stage);
503 if (mapped_stage != WINED3D_UNMAPPED_STAGE)
505 if (tex_used && mapped_stage >= gl_info->limits.textures)
510 context_active_texture(context, gl_info, mapped_stage);
525 if (mapped_stage != WINED3D_UNMAPPED_STAGE)
542 if (gl_info->supported[NV_TEXTURE_SHADER2] && mapped_stage < gl_info->limits.textures)
575 mapped_stage,
588 context_active_texture(context, gl_info, mapped_stage + 1);
590 context_active_texture(context, gl_info, mapped_stage);
614 DWORD mapped_stage = context->swapchain->device->texUnitMap[sampler];
619 if (mapped_stage == WINED3D_UNMAPPED_STAGE || mapped_stage >= context->gl_info->limits.textures)
632 DWORD mapped_stage = context->swapchain->device->texUnitMap[stage + 1];
642 if (mapped_stage < gl_info->limits.textures)
644 context_active_texture(context, gl_info, mapped_stage);