/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 162 struct TexLookupParams struct 168 TexLookupParams (void) in TexLookupParams() function 185 typedef void (*TexEvalFunc) (gls::ShaderEvalContext& c, const TexLookupParams& lookupParams); 191 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } in evalTexture2D() 192 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTextureCube() 194 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture2DBias() 195 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTextureCubeBias() 197 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture2DProj3() 198 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture2DProj3Bias() 199 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams in evalTexture2DProj3Bias() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 244 struct TexLookupParams struct 252 TexLookupParams (void) in TexLookupParams() function 413 typedef void (*TexEvalFunc) (ShaderEvalContext& c, const TexLookupParams& lookupParams); 442 static void evalTexture2D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } in evalTexture2D() 443 static void evalTextureCube (ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTextureCube() 444 static void evalTexture2DArray (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2DArray(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture2DArray() 445 static void evalTexture3D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture3D() 446 static void evalTexture1D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture1D(c, c.in[0].x(), p.lod)*p.scale + p.bias; } in evalTexture1D() 447 static void evalTexture1DArray (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture1DArray(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } in evalTexture1DArray() 448 static void evalTextureCubeArray (ShaderEvalContext& c, const TexLookupParams in evalTexture1DArray() 549 evalTexture2DShadowLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowLod() argument 551 evalTexture1DShadowLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowLod() argument 553 evalTexture1DArrayShadowLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DArrayShadowLod() argument 561 evalTexture2DShadowProjLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowProjLod() argument 563 evalTexture1DShadowProjLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowProjLod() argument 597 evalTexture2DShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowGrad() argument 598 evalTextureCubeShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTextureCubeShadowGrad() argument 599 evalTexture2DArrayShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DArrayShadowGrad() argument 600 evalTexture1DShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowGrad() argument 601 evalTexture1DArrayShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DArrayShadowGrad() argument 614 evalTexture2DShadowProjGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowProjGrad() argument 616 evalTexture1DShadowProjGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowProjGrad() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 241 struct TexLookupParams struct 249 TexLookupParams (void) in TexLookupParams() function 410 typedef void (*TexEvalFunc) (ShaderEvalContext& c, const TexLookupParams& lookupParams); 439 static void evalTexture2D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } in evalTexture2D() 440 static void evalTextureCube (ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTextureCube() 441 static void evalTexture2DArray (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2DArray(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture2DArray() 442 static void evalTexture3D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture3D() 443 static void evalTexture1D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture1D(c, c.in[0].x(), p.lod)*p.scale + p.bias; } in evalTexture1D() 444 static void evalTexture1DArray (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture1DArray(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } in evalTexture1DArray() 445 static void evalTextureCubeArray (ShaderEvalContext& c, const TexLookupParams in evalTexture1DArray() 546 evalTexture2DShadowLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowLod() argument 548 evalTexture1DShadowLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowLod() argument 550 evalTexture1DArrayShadowLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DArrayShadowLod() argument 558 evalTexture2DShadowProjLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowProjLod() argument 560 evalTexture1DShadowProjLod(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowProjLod() argument 594 evalTexture2DShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowGrad() argument 595 evalTextureCubeShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTextureCubeShadowGrad() argument 596 evalTexture2DArrayShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DArrayShadowGrad() argument 597 evalTexture1DShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowGrad() argument 598 evalTexture1DArrayShadowGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DArrayShadowGrad() argument 611 evalTexture2DShadowProjGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowProjGrad() argument 613 evalTexture1DShadowProjGrad(ShaderEvalContext& c, const TexLookupParams&) evalTexture1DShadowProjGrad() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/ |
H A D | esextcTextureShadowLodFunctionsTest.cpp | 175 struct TexLookupParams struct 182 TexLookupParams(void) : lod(0.0f), offset(0), scale(1.0f), bias(0.0f) in TexLookupParams() function 198 typedef void (*TexEvalFunc)(ShaderEvalContext& c, const TexLookupParams& lookupParams); 228 static void evalTexture2DArrayShadow(ShaderEvalContext& c, const TexLookupParams& p) in evalTexture2DArrayShadow() 232 static void evalTexture2DArrayShadowBias(ShaderEvalContext& c, const TexLookupParams& p) in evalTexture2DArrayShadowBias() 236 static void evalTexture2DArrayShadowOffset(ShaderEvalContext& c, const TexLookupParams& p) in evalTexture2DArrayShadowOffset() 241 static void evalTexture2DArrayShadowOffsetBias(ShaderEvalContext& c, const TexLookupParams& p) in evalTexture2DArrayShadowOffsetBias() 247 static void evalTexture2DArrayShadowLod(ShaderEvalContext& c, const TexLookupParams& p) in evalTexture2DArrayShadowLod() 252 static void evalTexture2DArrayShadowLodOffset(ShaderEvalContext& c, const TexLookupParams& p) in evalTexture2DArrayShadowLodOffset() 258 static void evalTextureCubeShadow(ShaderEvalContext& c, const TexLookupParams [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderTextureFunctionTests.cpp | 218 struct TexLookupParams struct 225 TexLookupParams (void) in TexLookupParams() function 277 typedef void (*TexEvalFunc) (gls::ShaderEvalContext& c, const TexLookupParams& lookupParams); 296 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } in evalTexture2D() 297 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTextureCube() 298 static void evalTexture2DArray (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2DArray(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture2DArray() 299 static void evalTexture3D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } in evalTexture3D() 301 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture2DBias() 302 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTextureCubeBias() 303 static void evalTexture2DArrayBias (gls::ShaderEvalContext& c, const TexLookupParams in evalTextureCubeBias() 357 evalTexture2DShadowLod(gls::ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowLod() argument 363 evalTexture2DShadowProjLod(gls::ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowProjLod() argument 379 evalTexture2DShadowGrad(gls::ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowGrad() argument 380 evalTextureCubeShadowGrad(gls::ShaderEvalContext& c, const TexLookupParams&) evalTextureCubeShadowGrad() argument 381 evalTexture2DArrayShadowGrad(gls::ShaderEvalContext& c, const TexLookupParams&) evalTexture2DArrayShadowGrad() argument 390 evalTexture2DShadowProjGrad(gls::ShaderEvalContext& c, const TexLookupParams&) evalTexture2DShadowProjGrad() argument [all...] |