Lines Matching defs:sample_function

1929         DWORD sampler_idx, DWORD flags, struct glsl_sample_function *sample_function)
1947 sample_function->name = projected ? "shadow1DProjLod" : "shadow1DLod";
1952 sample_function->name = projected ? "shadow1DProjGrad" : "shadow1DGrad";
1954 sample_function->name = projected ? "shadow1DProjGradARB" : "shadow1DGradARB";
1958 sample_function->name = "unsupported1DGrad";
1963 sample_function->name = projected ? "shadow1DProj" : "shadow1D";
1965 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1;
1971 sample_function->name = projected ? "texture1DProjLod" : "texture1DLod";
1976 sample_function->name = projected ? "texture1DProjGrad" : "texture1DGrad";
1978 sample_function->name = projected ? "texture1DProjGradARB" : "texture1DGradARB";
1982 sample_function->name = "unsupported1DGrad";
1987 sample_function->name = projected ? "texture1DProj" : "texture1D";
1989 sample_function->coord_mask = WINED3DSP_WRITEMASK_0;
2000 sample_function->name = projected ? "shadow2DRectProjLod" : "shadow2DRectLod";
2005 sample_function->name = projected ? "shadow2DRectProjGrad" : "shadow2DRectGrad";
2007 sample_function->name = projected ? "shadow2DRectProjGradARB" : "shadow2DRectGradARB";
2011 sample_function->name = "unsupported2DRectGrad";
2016 sample_function->name = projected ? "shadow2DRectProj" : "shadow2DRect";
2023 sample_function->name = projected ? "shadow2DProjLod" : "shadow2DLod";
2028 sample_function->name = projected ? "shadow2DProjGrad" : "shadow2DGrad";
2030 sample_function->name = projected ? "shadow2DProjGradARB" : "shadow2DGradARB";
2034 sample_function->name = "unsupported2DGrad";
2039 sample_function->name = projected ? "shadow2DProj" : "shadow2D";
2042 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1 | WINED3DSP_WRITEMASK_2;
2050 sample_function->name = projected ? "texture2DRectProjLod" : "texture2DRectLod";
2055 sample_function->name = projected ? "texture2DRectProjGrad" : "texture2DRectGrad";
2057 sample_function->name = projected ? "texture2DRectProjGradARB" : "texture2DRectGradARB";
2061 sample_function->name = "unsupported2DRectGrad";
2066 sample_function->name = projected ? "texture2DRectProj" : "texture2DRect";
2073 sample_function->name = projected ? "texture2DProjLod" : "texture2DLod";
2078 sample_function->name = projected ? "texture2DProjGrad" : "texture2DGrad";
2080 sample_function->name = projected ? "texture2DProjGradARB" : "texture2DGradARB";
2084 sample_function->name = "unsupported2DGrad";
2089 sample_function->name = projected ? "texture2DProj" : "texture2D";
2092 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1;
2100 sample_function->name = "unsupportedCubeShadow";
2101 sample_function->coord_mask = 0;
2107 sample_function->name = "textureCubeLod";
2112 sample_function->name = "textureCubeGrad";
2114 sample_function->name = "textureCubeGradARB";
2118 sample_function->name = "unsupportedCubeGrad";
2123 sample_function->name = "textureCube";
2125 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1 | WINED3DSP_WRITEMASK_2;
2133 sample_function->name = "unsupported3DShadow";
2134 sample_function->coord_mask = 0;
2140 sample_function->name = projected ? "texture3DProjLod" : "texture3DLod";
2145 sample_function->name = projected ? "texture3DProjGrad" : "texture3DGrad";
2147 sample_function->name = projected ? "texture3DProjGradARB" : "texture3DGradARB";
2151 sample_function->name = "unsupported3DGrad";
2156 sample_function->name = projected ? "texture3DProj" : "texture3D";
2158 sample_function->coord_mask = WINED3DSP_WRITEMASK_0 | WINED3DSP_WRITEMASK_1 | WINED3DSP_WRITEMASK_2;
2163 sample_function->name = "";
2164 sample_function->coord_mask = 0;
2276 DWORD sampler, const struct glsl_sample_function *sample_function, DWORD swizzle,
2308 sample_function->name, shader_glsl_get_prefix(version->type), sampler);
3523 struct glsl_sample_function sample_function;
3590 shader_glsl_get_sample_function(ins->ctx, sampler_idx, sample_flags, &sample_function);
3591 mask |= sample_function.coord_mask;
3602 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, NULL,
3613 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, bias.param_str,
3616 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, NULL,
3627 struct glsl_sample_function sample_function;
3643 shader_glsl_get_sample_function(ins->ctx, sampler_idx, sample_flags, &sample_function);
3644 shader_glsl_add_src_param(ins, &ins->src[0], sample_function.coord_mask, &coord_param);
3645 shader_glsl_add_src_param(ins, &ins->src[2], sample_function.coord_mask, &dx_param);
3646 shader_glsl_add_src_param(ins, &ins->src[3], sample_function.coord_mask, &dy_param);
3648 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, dx_param.param_str, dy_param.param_str, NULL,
3657 struct glsl_sample_function sample_function;
3667 shader_glsl_get_sample_function(ins->ctx, sampler_idx, sample_flags, &sample_function);
3668 shader_glsl_add_src_param(ins, &ins->src[0], sample_function.coord_mask, &coord_param);
3678 WARN("Using %s in fragment shader.\n", sample_function.name);
3680 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, swizzle, NULL, NULL, lod_param.param_str,
3744 struct glsl_sample_function sample_function;
3755 shader_glsl_get_sample_function(ins->ctx, sampler_idx, 0, &sample_function);
3756 mask_size = shader_glsl_get_write_mask_size(sample_function.coord_mask);
3761 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3766 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3771 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
3869 struct glsl_sample_function sample_function;
3876 shader_glsl_get_sample_function(ins->ctx, reg, 0, &sample_function);
3879 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL, "tmp0.xy");
3888 struct glsl_sample_function sample_function;
3896 shader_glsl_get_sample_function(ins->ctx, reg, 0, &sample_function);
3899 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL, "tmp0.xyz");
3932 struct glsl_sample_function sample_function;
3945 shader_glsl_get_sample_function(ins->ctx, reg, 0, &sample_function);
3946 shader_glsl_write_mask_to_str(sample_function.coord_mask, coord_mask);
3949 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE,
3962 struct glsl_sample_function sample_function;
3978 shader_glsl_get_sample_function(ins->ctx, reg, 0, &sample_function);
3979 shader_glsl_write_mask_to_str(sample_function.coord_mask, coord_mask);
3982 shader_glsl_gen_sample_code(ins, reg, &sample_function, WINED3DSP_NOSWIZZLE,
3995 struct glsl_sample_function sample_function;
4007 shader_glsl_get_sample_function(ins->ctx, sampler_idx, 0, &sample_function);
4008 mask = sample_function.coord_mask;
4040 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
4076 struct glsl_sample_function sample_function;
4081 shader_glsl_get_sample_function(ins->ctx, sampler_idx, 0, &sample_function);
4082 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
4091 struct glsl_sample_function sample_function;
4096 shader_glsl_get_sample_function(ins->ctx, sampler_idx, 0, &sample_function);
4097 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,
4106 struct glsl_sample_function sample_function;
4110 shader_glsl_get_sample_function(ins->ctx, sampler_idx, 0, &sample_function);
4111 shader_glsl_add_src_param(ins, &ins->src[0], sample_function.coord_mask, &src0_param);
4113 shader_glsl_gen_sample_code(ins, sampler_idx, &sample_function, WINED3DSP_NOSWIZZLE, NULL, NULL, NULL,