52DEFINE_VALUE(
"INITIALIZE(value)",
"dot(value.rgb, luminance_coefficients)")
59DEFINE_VALUE(
"INITIALIZE(value)",
"log(max(dot(value.rgb, luminance_coefficients), 1e-5f))")
89DEFINE_VALUE(
"INITIALIZE(value)",
"pow(value.r - subtrahend, 2.0f)")
95DEFINE_VALUE(
"INITIALIZE(value)",
"pow(value.g - subtrahend, 2.0f)")
108DEFINE_VALUE(
"INITIALIZE(value)",
"pow(dot(value.rgb, luminance_coefficients) - subtrahend, 2.0f)")
122DEFINE_VALUE(
"INITIALIZE(value)",
"dot(value.rgb, luminance_coefficients)")
169DEFINE_VALUE(
"INITIALIZE(v)",
"((v.x <= upper_bound) && (v.x >= lower_bound)) ? v.x : lower_bound")
171DEFINE_VALUE(
"REDUCE(lhs, rhs)",
"((rhs > lhs) && (rhs <= upper_bound)) ? rhs : lhs")
185DEFINE_VALUE(
"INITIALIZE(value)",
"dot(value.rgb, luminance_coefficients)")
209DEFINE_VALUE(
"INITIALIZE(v)",
"((v.x <= upper_bound) && (v.x >= lower_bound)) ? v.x : upper_bound")
211DEFINE_VALUE(
"REDUCE(lhs, rhs)",
"((rhs < lhs) && (rhs >= lower_bound)) ? rhs : lhs")
229 "vec4(dot(lhs.xy, lhs.xy) > dot(rhs.xy, rhs.xy) ? lhs.xy : rhs.xy,"
230 " dot(lhs.zw, lhs.zw) > dot(rhs.zw, rhs.zw) ? lhs.zw : rhs.zw)")
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define SAMPLER(slot, type, name)
#define ADDITIONAL_INFO(info_name)
#define PUSH_CONSTANT(type, name)
#define LOCAL_GROUP_SIZE(...)
#define IMAGE(slot, format, qualifiers, type, name)
#define COMPUTE_SOURCE(filename)
#define DO_STATIC_COMPILATION()
#define DEFINE_VALUE(name, value)
ImageBase< float, 2 > image2D
SamplerBase< float, 2 > sampler2D