Lines Matching defs:sampler

457                 ERR("Trying to load sampler %s on unsupported unit %d\n", sampler_name, mapped_unit);
482 ERR("Trying to load sampler %s on unsupported unit %d\n", sampler_name, mapped_unit);
1201 for (i = 0; i < This->baseShader.limits.sampler; i++) {
1225 FIXME("Unrecognized sampler type: %#x\n", reg_maps->sampler_type[i]);
1243 * shader_glsl_load_np2fixup_constants when the sampler changes. */
1245 for (i = 0; i < This->baseShader.limits.sampler; ++i) {
1949 FIXME("Unrecognized sampler type: %#x;\n", sampler_type);
2061 DWORD sampler, const glsl_sample_function_t *sample_function, DWORD swizzle,
2077 fixup = priv->cur_ps_args->color_fixup[sampler];
2080 if (priv->cur_ps_args->np2_fixup & (1 << sampler)) {
2088 if (priv->cur_ps_args->t_mirror & (1 << sampler))
2090 if (ins->ctx->reg_maps->sampler_type[sampler]==WINED3DSTT_2D)
2123 shader_addline(ins->ctx->buffer, "%s(%s%u, ", sample_function->name, sampler_base, sampler);
2141 const unsigned char idx = priv->cur_np2fixup_info->idx[sampler];
3182 /* 1.0-1.4: Use destination register as sampler source.
3183 * 2.0+: Use provided sampler source. */
4851 "uniform sampler2D sampler;\n"
4854 " gl_FragDepth = texture2D(sampler, gl_TexCoord[0].xy).x;\n"
4860 "uniform samplerCube sampler;\n"
4863 " gl_FragDepth = textureCube(sampler, gl_TexCoord[0].xyz).x;\n"
4868 "uniform sampler2DRect sampler;\n"
4871 " gl_FragDepth = texture2DRect(sampler, gl_TexCoord[0].xy).x;\n"
4948 * constants. This has to be done because it can't be guaranteed that sampler() (from state.c) is
4966 loc = GL_EXTCALL(glGetUniformLocationARB(*blt_program, "sampler"));