Lines Matching defs:sample_function

1827         DWORD sampler_type, DWORD flags, glsl_sample_function_t *sample_function)
1838 sample_function->name = projected ? "texture1DProjLod" : "texture1DLod";
1843 sample_function->name = projected ? "texture1DProjGrad" : "texture1DGrad";
1845 sample_function->name = projected ? "texture1DProjGradARB" : "texture1DGradARB";
1849 sample_function->name = "unsupported1DGrad";
1854 sample_function->name = projected ? "texture1DProj" : "texture1D";
1856 sample_function->coord_mask = WINED3DSP_WRITEMASK_0;
1861 sample_function->name = projected ? "texture2DRectProjLod" : "texture2DRectLod";
1866 sample_function->name = projected ? "texture2DRectProjGrad" : "texture2DRectGrad";
1868 sample_function->name = projected ? "texture2DRectProjGradARB" : "texture2DRectGradARB";
1872 sample_function->name = "unsupported2DRectGrad";
1877 sample_function->name = projected ? "texture2DRectProj" : "texture2DRect";
1881 sample_function->name = projected ? "texture2DProjLod" : "texture2DLod";
1886 sample_function->name = projected ? "texture2DProjGrad" : "texture2DGrad";
1888 sample_function->name = projected ? "texture2DProjGradARB" : "texture2DGradARB";
1892 sample_function->name = "unsupported2DGrad";
1897 sample_function->name = projected ? "texture2DProj" : "texture2D";
1900 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1;
1904 sample_function->name = "textureCubeLod";
1909 sample_function->name = "textureCubeGrad";
1911 sample_function->name = "textureCubeGradARB";
1915 sample_function->name = "unsupportedCubeGrad";
1920 sample_function->name = "textureCube";
1922 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1 | WINED3DSP_WRITEMASK_2;
1926 sample_function->name = projected ? "texture3DProjLod" : "texture3DLod";
1931 sample_function->name = projected ? "texture3DProjGrad" : "texture3DGrad";
1933 sample_function->name = projected ? "texture3DProjGradARB" : "texture3DGradARB";
1937 sample_function->name = "unsupported3DGrad";
1942 sample_function->name = projected ? "texture3DProj" : "texture3D";
1944 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1 | WINED3DSP_WRITEMASK_2;
1947 sample_function->name = "";
1948 sample_function->coord_mask = 0;
2061 DWORD sampler, const glsl_sample_function_t *sample_function, DWORD swizzle,
2092 if (sample_function->coord_mask & WINED3DSP_WRITEMASK_1)
2095 shader_glsl_add_src_param(ins, &ins->src[0], sample_function->coord_mask, &coord_param);
2123 shader_addline(ins->ctx->buffer, "%s(%s%u, ", sample_function->name, sampler_base, sampler);
3176 glsl_sample_function_t sample_function;
3231 shader_glsl_get_sample_function(gl_info, sampler_type, sample_flags, &sample_function);
3232 mask |= sample_function.coord_mask;
3243 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, NULL,
3252 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, bias.param_str,
3255 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, NULL,
3266 glsl_sample_function_t sample_function;
3287 shader_glsl_get_sample_function(gl_info, sampler_type, sample_flags, &sample_function);
3288 shader_glsl_add_src_param(ins, &ins->src[0], sample_function.coord_mask, &coord_param);
3289 shader_glsl_add_src_param(ins, &ins->src[2], sample_function.coord_mask, &dx_param);
3290 shader_glsl_add_src_param(ins, &ins->src[3], sample_function.coord_mask, &dy_param);
3292 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, dx_param.param_str, dy_param.param_str, NULL,
3301 glsl_sample_function_t sample_function;
3314 shader_glsl_get_sample_function(gl_info, sampler_type, sample_flags, &sample_function);
3315 shader_glsl_add_src_param(ins, &ins->src[0], sample_function.coord_mask, &coord_param);
3324 WARN("Using %s in fragment shader.\n", sample_function.name);
3326 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, lod_param.param_str,
3383 glsl_sample_function_t sample_function;
3396 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3397 mask_size = shader_glsl_get_write_mask_size(sample_function.coord_mask);
3402 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3407 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3412 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3515 glsl_sample_function_t sample_function;
3520 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3523 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL, "tmp0.xy");
3537 glsl_sample_function_t sample_function;
3543 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3546 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL, "tmp0.xyz");
3584 glsl_sample_function_t sample_function;
3595 shader_glsl_get_sample_function(gl_info, stype, 0, &sample_function);
3598 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL, "tmp0.xyz");
3615 glsl_sample_function_t sample_function;
3628 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3631 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL, "tmp0.xyz");
3646 glsl_sample_function_t sample_function;
3660 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3661 mask = sample_function.coord_mask;
3684 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3723 glsl_sample_function_t sample_function;
3727 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3728 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3740 glsl_sample_function_t sample_function;
3744 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3745 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3757 glsl_sample_function_t sample_function;
3760 shader_glsl_get_sample_function(gl_info, sampler_type, 0, &sample_function);
3761 shader_glsl_add_src_param(ins, &ins->src[0], sample_function.coord_mask, &src0_param);
3763 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,