/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | CopyTexImageTest.cpp | 595 void verifyCopyTexSubImage3D(GLTexture &texture3D, 900 void CopyTexImageTestES3::verifyCopyTexSubImage3D(GLTexture &texture3D, in verifyCopyTexSubImage3D() argument 908 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture3D, 0, currLayer); in verifyCopyTexSubImage3D() 926 GLTexture texture3D; in TEST_P() local 927 initialize3DTexture(texture3D, kImageWidth, kImageHeight, kImageDepth, textureData.data()); in TEST_P() 939 verifyCopyTexSubImage3D(texture3D, 0, 0, GLColor::red); in TEST_P() 941 verifyCopyTexSubImage3D(texture3D, kXOffset, kYOffset, kSubImageColor); in TEST_P() 958 GLTexture texture3D; in TEST_P() local 959 initialize3DTexture(texture3D, kImageWidth, kImageHeight, kImageDepth, nullptr); in TEST_P() 965 glFramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture3D, in TEST_P() 1008 GLTexture texture3D; TEST_P() local [all...] |
H A D | ImageTest.cpp | 1383 GLTexture texture3D; in TEST_P() local 1384 glBindTexture(GL_TEXTURE_3D, texture3D); in TEST_P() 1393 reinterpretHelper<EGLClientBuffer>(texture3D.get()), in TEST_P() 1404 reinterpretHelper<EGLClientBuffer>(texture3D.get()), in TEST_P() 1433 GLTexture texture3D; in TEST_P() local 1434 glBindTexture(GL_TEXTURE_3D, texture3D); in TEST_P() 1441 reinterpretHelper<EGLClientBuffer>(texture3D.get()), nullptr); in TEST_P()
|
H A D | RobustResourceInitTest.cpp | 719 GLTexture texture3D; in TEST_P() local 720 glBindTexture(GL_TEXTURE_3D, texture3D); in TEST_P() 724 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture3D, 0, kTextureLayer); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | RenderTarget11.cpp | 53 ID3D11Texture3D *texture3D = d3d11::DynamicCastComObject<ID3D11Texture3D>(resource); in GetTextureProperties() local 54 if (texture3D) in GetTextureProperties() 57 texture3D->GetDesc(&texDesc); in GetTextureProperties() 58 SafeRelease(texture3D); in GetTextureProperties()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
H A D | es2cTexture3DTests.cpp | 313 specializationMap["LOOKUP"] = "texture3D"; in renderQuad() 947 glu::Texture3D texture3D(m_context.getRenderContext(), m_format, m_type, m_width, m_height, m_depth); in iterate() 951 texture3D.getRefTexture().allocLevel(0); in iterate() 952 const tcu::PixelBufferAccess& pba3D = texture3D.getRefTexture().getLevel(0); in iterate() 963 uploadTexture3D(texture3D); in iterate() 966 gl.bindTexture(GL_TEXTURE_3D, texture3D.getGLTexture()); in iterate() 979 callFramebufferTexture3D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_3D, texture3D.getGLTexture(), 0, 1); in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cLayoutBindingTests.cpp | 644 glu::Texture3D* texture3D = new glu::Texture3D(getContext().getRenderContext(), GL_RGBA8, 2, 2, 1); in init() local 646 texture3D->getRefTexture().allocLevel(0); in init() 647 tcu::clear(texture3D->getRefTexture().getLevel(0), m_expectedColor); in init() 648 texture3D->upload(); in init() 655 m_textures3D[0] = texture3D; in init()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | CopyCommandsValidationTests.cpp | 2047 wgpu::Texture texture3D = in TEST_F() local 2056 TestT2TCopy(utils::Expectation::Failure, texture3D, kMipmapLevel, kSrcOrigin, texture3D, in TEST_F() 2062 wgpu::Texture texture3D = in TEST_F() local 2071 TestT2TCopy(utils::Expectation::Failure, texture3D, kMipmapLevel, kSrcOrigin, texture3D, in TEST_F()
|
/third_party/mesa3d/src/compiler/ |
H A D | builtin_type_macros.h | 139 DECL_TYPE(texture3D, GL_SAMPLER_3D, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_FLOAT)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 418 inline Vec4 texture3D (const ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex3D->sample(c.textures[0].sampler, s, t, r, lod); } in texture3D() function 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() 453 static void evalTexture3DBias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture3DBias() 462 static void evalTexture3DProj (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), p.lod)*p.scale + p.bias; } in evalTexture3DProj() 463 static void evalTexture3DProjBias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture3DProjBias() 472 static void evalTexture3DLod (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), c.in[1].x())*p.scale + p.bias; } in evalTexture3DLod() 479 static void evalTexture3DProjLod (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), c.in[1].x())*p.scale + p.bias; } in evalTexture3DProjLod() 486 static void evalTexture3DBiasClamp (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), de::max(p.lod+c.in[1].x(), p.lodClamp))*p.scale + p.bias; } in evalTexture3DBiasClamp() 592 static void evalTexture3DGrad (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), computeLodFromGrad3D(c))*p.scale + p.bias; } in evalTexture3DGrad() 621 static void evalTexture3DProjGrad (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D( in evalTexture2DProjGrad() 1022 de::MovePtr<tcu::Texture3D> texture3D; initTexture() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 415 inline Vec4 texture3D (const ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex3D->sample(c.textures[0].sampler, s, t, r, lod); } in texture3D() function 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() 450 static void evalTexture3DBias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture3DBias() 459 static void evalTexture3DProj (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), p.lod)*p.scale + p.bias; } in evalTexture3DProj() 460 static void evalTexture3DProjBias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture3DProjBias() 469 static void evalTexture3DLod (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), c.in[1].x())*p.scale + p.bias; } in evalTexture3DLod() 476 static void evalTexture3DProjLod (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), c.in[1].x())*p.scale + p.bias; } in evalTexture3DProjLod() 483 static void evalTexture3DBiasClamp (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), de::max(p.lod+c.in[1].x(), p.lodClamp))*p.scale + p.bias; } in evalTexture3DBiasClamp() 589 static void evalTexture3DGrad (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), computeLodFromGrad3D(c))*p.scale + p.bias; } in evalTexture3DGrad() 618 static void evalTexture3DProjGrad (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D( in evalTexture2DProjGrad() 1019 de::MovePtr<tcu::Texture3D> texture3D; initTexture() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderTextureFunctionTests.cpp | 282 inline Vec4 texture3D (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex3D->sample(c.textures[0].sampler, s, t, r, lod); } in texture3D() function 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() 304 static void evalTexture3DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture3DBias() 310 static void evalTexture3DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), p.lod)*p.scale + p.bias; } in evalTexture3DProj() 311 static void evalTexture3DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } in evalTexture3DProjBias() 316 static void evalTexture3DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), c.in[1].x())*p.scale + p.bias; } in evalTexture3DLod() 320 static void evalTexture3DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), c.in[1].x())*p.scale + p.bias; } in evalTexture3DProjLod() 377 static void evalTexture3DGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), computeLodFromGrad3D(c))*p.scale + p.bias; } in evalTexture3DGrad() 395 static void evalTexture3DProjGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture3D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[0].z()/c.in[0].w(), computeLodFromGrad3D(c))*p.scale + p.bias; } in evalTexture3DProjGrad()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.cpp | 2388 if (Texture3D* texture3D = dynamic_cast<Texture3D*>(texture)) 2389 level = texture3D->getLevel(attachment.level);
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | SymbolTable_ESSL_autogen.cpp | 2172 constexpr const ImmutableString texture3D("texture3D"); 8278 BuiltInName::texture3D, 8452 BuiltInName::texture3D, [all...] |
H A D | SymbolTable_autogen.cpp | 3365 constexpr const ImmutableString texture3D("texture3D"); 11148 BuiltInName::texture3D, 11358 BuiltInName::texture3D, [all...] |