/third_party/mesa3d/src/compiler/glsl/ |
D | lower_blend_equation_advanced.cpp | 215 ir_variable *cbase, in set_lum() argument 219 f->emit(assign(color, add(cbase, sub(lumv3(clum), lumv3(cbase))))); in set_lum() 246 ir_variable *cbase, in set_lum_sat() argument 252 ir_rvalue *minbase = minv3(cbase); in set_lum_sat() 256 f->emit(assign(sbase, satv3(cbase))); in set_lum_sat() 264 assign(color, div(mul(sub(cbase, minbase), ssat), sbase)), in set_lum_sat()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | PixelRoutine.hpp | 88 void setLumSat(Vector4f &cbase, Vector4f &csat, Vector4f &clum, Float4 &x, Float4 &y, Float4 &z); 89 void setLum(Vector4f &cbase, Vector4f &clum, Float4 &x, Float4 &y, Float4 &z);
|
D | PixelRoutine.cpp | 2062 void PixelRoutine::setLumSat(Vector4f &cbase, Vector4f &csat, Vector4f &clum, Float4 &x, Float4 &y,… in setLumSat() argument 2064 Float4 minbase = minRGB(cbase); in setLumSat() 2065 Float4 sbase = maxRGB(cbase) - minbase; in setLumSat() 2069 color.x = As<Float4>(isNonZero & As<Int4>((cbase.x - minbase) * ssat / sbase)); in setLumSat() 2070 color.y = As<Float4>(isNonZero & As<Int4>((cbase.y - minbase) * ssat / sbase)); in setLumSat() 2071 color.z = As<Float4>(isNonZero & As<Int4>((cbase.z - minbase) * ssat / sbase)); in setLumSat() 2092 void PixelRoutine::setLum(Vector4f &cbase, Vector4f &clum, Float4 &x, Float4 &y, Float4 &z) in setLum() argument 2094 Float4 lbase = lumRGB(cbase); in setLum() 2099 color.x = cbase.x + ldiff; in setLum() 2100 color.y = cbase.y + ldiff; in setLum() [all …]
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 576 Vec3 setLum (const Vec3& cbase, const Vec3& clum) in setLum() argument 578 const float lbase = luminosity(cbase); in setLum() 581 const Vec3 color = cbase + Vec3(ldiff); in setLum() 593 Vec3 setLumSat (const Vec3& cbase, const Vec3& csat, const Vec3& clum) in setLumSat() argument 595 const float minbase = minComp(cbase); in setLumSat() 596 const float sbase = saturation(cbase); in setLumSat() 601 color = (cbase - minbase) * ssat / sbase; in setLumSat()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcBlendEquationAdvancedTests.cpp | 335 static tcu::Vec4 SetLum(const tcu::Vec4& cbase, const tcu::Vec4& clum) in SetLum() argument 337 float lbase = Luminance(cbase); in SetLum() 340 tcu::Vec4 color = cbase + tcu::Vec4(ldiff); in SetLum() 359 static tcu::Vec4 SetLumSat(const tcu::Vec4& cbase, const tcu::Vec4& csat, const tcu::Vec4& clum) in SetLumSat() argument 361 float minbase = MinRGB(cbase); in SetLumSat() 362 float sbase = Saturation(cbase); in SetLumSat() 372 color = (cbase - tcu::Vec4(minbase)) * ssat / sbase; in SetLumSat()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBlendOperationAdvancedTests.cpp | 478 Vec3 setLum(Vec3 cbase, Vec3 clum) in setLum() argument 480 float lbase = lumv3(cbase); in setLum() 484 Vec3 color = cbase + Vec3(ldiff); in setLum() 491 Vec3 setLumSat(Vec3 cbase, Vec3 csat, Vec3 clum) in setLumSat() argument 493 float minbase = minv3(cbase); in setLumSat() 494 float sbase = satv3(cbase); in setLumSat() 504 color = (cbase - minbase) * ssat / sbase; in setLumSat()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/KHR/ |
D | KHR_blend_equation_advanced.txt | 348 // Take the base RGB color <cbase> and override its luminosity 350 vec3 SetLum(vec3 cbase, vec3 clum) { 351 float lbase = lumv3(cbase); 354 vec3 color = cbase + vec3(ldiff); 358 // Take the base RGB color <cbase> and override its saturation with 361 vec3 SetLumSat(vec3 cbase, vec3 csat, vec3 clum) 363 float minbase = minv3(cbase); 364 float sbase = satv3(cbase); 372 color = (cbase - minbase) * ssat / sbase;
|
/third_party/openGLES/extensions/KHR/ |
D | KHR_blend_equation_advanced.txt | 358 // Take the base RGB color <cbase> and override its luminosity 360 vec3 SetLum(vec3 cbase, vec3 clum) { 361 float lbase = lumv3(cbase); 364 vec3 color = cbase + vec3(ldiff); 368 // Take the base RGB color <cbase> and override its saturation with 371 vec3 SetLumSat(vec3 cbase, vec3 csat, vec3 clum) 373 float minbase = minv3(cbase); 374 float sbase = satv3(cbase); 382 color = (cbase - minbase) * ssat / sbase;
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_blend_equation_advanced.txt | 520 // Take the base RGB color <cbase> and override its luminosity 522 vec3 SetLum(vec3 cbase, vec3 clum) { 523 float lbase = lumv3(cbase); 526 vec3 color = cbase + vec3(ldiff); 530 // Take the base RGB color <cbase> and override its saturation with 533 vec3 SetLumSat(vec3 cbase, vec3 csat, vec3 clum) 535 float minbase = minv3(cbase); 536 float sbase = satv3(cbase); 544 color = (cbase - minbase) * ssat / sbase;
|
/third_party/openGLES/extensions/NV/ |
D | NV_blend_equation_advanced.txt | 520 // Take the base RGB color <cbase> and override its luminosity 522 vec3 SetLum(vec3 cbase, vec3 clum) { 523 float lbase = lumv3(cbase); 526 vec3 color = cbase + vec3(ldiff); 530 // Take the base RGB color <cbase> and override its saturation with 533 vec3 SetLumSat(vec3 cbase, vec3 csat, vec3 clum) 535 float minbase = minv3(cbase); 536 float sbase = satv3(cbase); 544 color = (cbase - minbase) * ssat / sbase;
|