/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 45 using tcu::Vec3; 59 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate() 64 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() 69 …Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2… in renderReference() 70 …Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[2*3+1]), Vec3(coords[3*3+1], coords[2… in renderReference() 71 …Vec3 triB[2] = { Vec3(coords[0*3+2], coords[1*3+2], coords[2*3+2]), Vec3(coords[3*3+2], coords[2… in renderReference() 72 tcu::Vec3 triW[2] = { wCoord.swizzle(0, 1, 2), wCoord.swizzle(3, 2, 1) }; in renderReference() 101 … name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVa… 108 tcu::Vec3 m_min; 109 tcu::Vec3 m_max; [all …]
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 47 using tcu::Vec3; 61 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate() 66 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() 71 …Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2… in renderReference() 72 …Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[2*3+1]), Vec3(coords[3*3+1], coords[2… in renderReference() 73 …Vec3 triB[2] = { Vec3(coords[0*3+2], coords[1*3+2], coords[2*3+2]), Vec3(coords[3*3+2], coords[2… in renderReference() 74 tcu::Vec3 triW[2] = { wCoord.swizzle(0, 1, 2), wCoord.swizzle(3, 2, 1) }; in renderReference() 103 … name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVa… 110 tcu::Vec3 m_min; 111 tcu::Vec3 m_max; [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 47 using tcu::Vec3; 128 tcu::Vec3 minDX; 129 tcu::Vec3 maxDX; 130 tcu::Vec3 minDY; 131 tcu::Vec3 maxDY; 164 const tcu::Vec3& minDX_, in TextureLookupSpec() 165 const tcu::Vec3& maxDX_, in TextureLookupSpec() 166 const tcu::Vec3& minDY_, in TextureLookupSpec() 167 const tcu::Vec3& maxDY_, in TextureLookupSpec() 824 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in ShaderTextureFunctionInstance() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 47 using tcu::Vec3; 128 tcu::Vec3 minDX; 129 tcu::Vec3 maxDX; 130 tcu::Vec3 minDY; 131 tcu::Vec3 maxDY; 164 const tcu::Vec3& minDX_, in TextureLookupSpec() 165 const tcu::Vec3& maxDX_, in TextureLookupSpec() 166 const tcu::Vec3& minDY_, in TextureLookupSpec() 167 const tcu::Vec3& maxDY_, in TextureLookupSpec() 824 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in ShaderTextureFunctionInstance() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderTextureFunctionTests.cpp | 118 tcu::Vec3 minDX; 119 tcu::Vec3 maxDX; 120 tcu::Vec3 minDY; 121 tcu::Vec3 maxDY; 148 const tcu::Vec3& minDX_, in TextureLookupSpec() 149 const tcu::Vec3& maxDX_, in TextureLookupSpec() 150 const tcu::Vec3& minDY_, in TextureLookupSpec() 151 const tcu::Vec3& maxDY_, in TextureLookupSpec() 237 using tcu::Vec3; 527 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in init() [all …]
|
D | es3fFboStencilbufferTests.cpp | 41 using tcu::Vec3; 112 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, … in render() 115 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(+1.0f, +1.0f, +… in render() 124 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(+0.5f, +0.5f, 0.… in render() 130 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.… in render() 209 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, … in render() 212 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(+1.0f, +1.0f, +… in render() 221 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(+0.5f, +0.5f, 0.… in render() 227 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.… in render()
|
D | es3fDepthTests.cpp | 205 using tcu::Vec3; in render() 223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render() 226 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render() 231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); in render() 234 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); in render() 239 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.5f), Vec3(1.0f, 0.0f, 0.5f)); in render() 242 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.3f), Vec3(1.0f, 0.0f, 0.3f)); in render() 247 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 250 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render()
|
D | es3fFboInvalidateTests.cpp | 46 using tcu::Vec3; 160 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render() 171 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render() 194 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render() 247 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render() 257 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render() 266 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render() 289 …sglr::drawQuad(*getCurrentContext(), texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)… in render() 326 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render() 343 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f… in render() [all …]
|
D | es3fFboDepthbufferTests.cpp | 41 using tcu::Vec3; 107 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0… in render() 128 …sglr::drawQuad(*getCurrentContext(), texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)… in render() 204 …sglr::drawQuad(*getCurrentContext(), depthGradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f… in render() 210 …sglr::drawQuad(*getCurrentContext(), depthGradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f… in render() 215 …sglr::drawQuad(*getCurrentContext(), depthGradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f… in render() 290 …sglr::drawQuad(*getCurrentContext(), depthGradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f… in render() 295 …sglr::drawQuad(*getCurrentContext(), depthGradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f… in render()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsLongStressTestUtil.cpp | 31 using tcu::Vec3; 128 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferContext() 163 …context.attributes.push_back(gls::VarSpec("a_position", Vec3(-positionFactor), Vec3(position… in generateTextureContext() 232 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferAndTextureContext() 385 context.attributes.push_back(gls::VarSpec("a_normal${NS}", Vec3(-1.0f), Vec3(1.0f))); in generateFragmentPointLightContext() 388 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.ambientColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext() 390 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.emissiveColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext() 391 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.specularColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext() 394 context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].color", Vec3(0.0f), Vec3(1.0f))); in generateFragmentPointLightContext() 396 …context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].direction", Vec3(-1.0f), Vec3(1.0f)… in generateFragmentPointLightContext() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDepthTests.cpp | 202 using tcu::Vec3; in render() 220 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render() 223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render() 228 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); in render() 231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); in render() 236 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.5f), Vec3(1.0f, 0.0f, 0.5f)); in render() 239 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.3f), Vec3(1.0f, 0.0f, 0.3f)); in render() 244 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 247 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render()
|
D | es2fFboRenderTest.cpp | 49 using tcu::Vec3; 710 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 798 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render() 801 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 1.0f), Vec3(1.0f, 1.0f, -1.0f)); in render() 813 sglr::drawQuad(ctx, texShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 892 sglr::drawQuad(context, singleTexShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 915 sglr::drawQuad(context, mixShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 981 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 989 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() 1052 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render() [all …]
|
D | es2fShaderAlgorithmTests.cpp | 188 Vec3 rgb = Vec3(L); in init() 200 if (sextant == 0) rgb = Vec3(v, mid1, m); in init() 201 else if (sextant == 1) rgb = Vec3(mid2, v, m); in init() 202 else if (sextant == 2) rgb = Vec3(m, v, mid1); in init() 203 else if (sextant == 3) rgb = Vec3(m, mid2, v); in init() 204 else if (sextant == 4) rgb = Vec3(mid1, m, v); in init() 205 else rgb = Vec3(v, m, mid2); in init() 242 Vec3 hsl; in init() 245 hsl = Vec3(0.0f, 0.0f, L); in init() 261 hsl = Vec3(H, S, L); in init()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexLookupVerifier.hpp | 110 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordD… 116 …ew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2&… 118 …iew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2&… 119 …ew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2&… 130 …sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4&… 131 …pler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4… 132 …pler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4… 140 …iew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int compone… 141 …w& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int compone… 142 …w& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int compone… [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderInOutTestsEXT.cpp | 365 tcu::Vec3 vert_f64d3_inter_0[IfaceVar::kNumVertices]; 366 tcu::Vec3 vert_f64d3_inter_1[IfaceVar::kNumVertices]; 377 tcu::Vec3 vert_f32d3_inter_0[IfaceVar::kNumVertices]; 378 tcu::Vec3 vert_f32d3_inter_1[IfaceVar::kNumVertices]; 389 tcu::Vec3 vert_f16d3_inter_0[IfaceVar::kNumVertices]; 390 tcu::Vec3 vert_f16d3_inter_1[IfaceVar::kNumVertices]; 403 tcu::Vec3 vert_f64d3_flat_0[IfaceVar::kNumVertices]; 404 tcu::Vec3 vert_f64d3_flat_1[IfaceVar::kNumVertices]; 415 tcu::Vec3 vert_f32d3_flat_0[IfaceVar::kNumVertices]; 416 tcu::Vec3 vert_f32d3_flat_1[IfaceVar::kNumVertices]; [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
D | vktMeshShaderInOutTestsEXT.cpp | 365 tcu::Vec3 vert_f64d3_inter_0[IfaceVar::kNumVertices]; 366 tcu::Vec3 vert_f64d3_inter_1[IfaceVar::kNumVertices]; 377 tcu::Vec3 vert_f32d3_inter_0[IfaceVar::kNumVertices]; 378 tcu::Vec3 vert_f32d3_inter_1[IfaceVar::kNumVertices]; 389 tcu::Vec3 vert_f16d3_inter_0[IfaceVar::kNumVertices]; 390 tcu::Vec3 vert_f16d3_inter_1[IfaceVar::kNumVertices]; 403 tcu::Vec3 vert_f64d3_flat_0[IfaceVar::kNumVertices]; 404 tcu::Vec3 vert_f64d3_flat_1[IfaceVar::kNumVertices]; 415 tcu::Vec3 vert_f32d3_flat_0[IfaceVar::kNumVertices]; 416 tcu::Vec3 vert_f32d3_flat_1[IfaceVar::kNumVertices]; [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
D | vktTessellationUtil.cpp | 510 std::vector<tcu::Vec3> generateReferenceTriangleTessCoords (const SpacingMode spacingMode, in generateReferenceTriangleTessCoords() 516 std::vector<tcu::Vec3> tessCoords; in generateReferenceTriangleTessCoords() 522 tessCoords.push_back(tcu::Vec3(1.0f, 0.0f, 0.0f)); in generateReferenceTriangleTessCoords() 523 tessCoords.push_back(tcu::Vec3(0.0f, 1.0f, 0.0f)); in generateReferenceTriangleTessCoords() 524 tessCoords.push_back(tcu::Vec3(0.0f, 0.0f, 1.0f)); in generateReferenceTriangleTessCoords() 533 …++) { const float v = (float)i / (float)outer0; tessCoords.push_back(tcu::Vec3( 0.0f, v,… in generateReferenceTriangleTessCoords() 534 …++) { const float v = (float)i / (float)outer1; tessCoords.push_back(tcu::Vec3(1.0f - v, 0.0f,… in generateReferenceTriangleTessCoords() 535 …++) { const float v = (float)i / (float)outer2; tessCoords.push_back(tcu::Vec3( v, 1.0f - v,… in generateReferenceTriangleTessCoords() 543 tessCoords.push_back(tcu::Vec3(1.0f/3.0f)); in generateReferenceTriangleTessCoords() 548 const tcu::Vec3 corners[3] = in generateReferenceTriangleTessCoords() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUtil.cpp | 510 std::vector<tcu::Vec3> generateReferenceTriangleTessCoords (const SpacingMode spacingMode, in generateReferenceTriangleTessCoords() 516 std::vector<tcu::Vec3> tessCoords; in generateReferenceTriangleTessCoords() 522 tessCoords.push_back(tcu::Vec3(1.0f, 0.0f, 0.0f)); in generateReferenceTriangleTessCoords() 523 tessCoords.push_back(tcu::Vec3(0.0f, 1.0f, 0.0f)); in generateReferenceTriangleTessCoords() 524 tessCoords.push_back(tcu::Vec3(0.0f, 0.0f, 1.0f)); in generateReferenceTriangleTessCoords() 533 …++) { const float v = (float)i / (float)outer0; tessCoords.push_back(tcu::Vec3( 0.0f, v,… in generateReferenceTriangleTessCoords() 534 …++) { const float v = (float)i / (float)outer1; tessCoords.push_back(tcu::Vec3(1.0f - v, 0.0f,… in generateReferenceTriangleTessCoords() 535 …++) { const float v = (float)i / (float)outer2; tessCoords.push_back(tcu::Vec3( v, 1.0f - v,… in generateReferenceTriangleTessCoords() 543 tessCoords.push_back(tcu::Vec3(1.0f/3.0f)); in generateReferenceTriangleTessCoords() 548 const tcu::Vec3 corners[3] = in generateReferenceTriangleTessCoords() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 1930 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() 1948 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 1949 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures() 1950 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures() 1954 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 1955 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initAccelerationStructures() 2089 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() 2107 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 2108 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures() 2109 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 1930 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() 1948 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 1949 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures() 1950 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures() 1954 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 1955 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initAccelerationStructures() 2089 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() 2107 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 2108 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures() 2109 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktSampleVerifierUtil.hpp | 47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx, 48 const tcu::Vec3& dPdy, 67 void calcTexelGridCoordRange (const tcu::Vec3& unnormalizedCoordMin, 68 const tcu::Vec3& unnormalizedCoordMax, 75 tcu::Vec3& unnormalizedCoordMin, 76 tcu::Vec3& unnormalizedCoordMax); 77 void calcCubemapFaceCoords (const tcu::Vec3& r, 78 const tcu::Vec3& drdx, 79 const tcu::Vec3& drdy, 84 int calcCandidateCubemapFaces (const tcu::Vec3& r);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.hpp | 47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx, 48 const tcu::Vec3& dPdy, 67 void calcTexelGridCoordRange (const tcu::Vec3& unnormalizedCoordMin, 68 const tcu::Vec3& unnormalizedCoordMax, 75 tcu::Vec3& unnormalizedCoordMin, 76 tcu::Vec3& unnormalizedCoordMax); 77 void calcCubemapFaceCoords (const tcu::Vec3& r, 78 const tcu::Vec3& drdx, 79 const tcu::Vec3& drdy, 84 int calcCandidateCubemapFaces (const tcu::Vec3& r);
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrContextUtil.hpp | 34 void drawQuad (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1); 36 …adWithVaoBuffers (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1); 37 …ithClientPointers (sglr::Context& ctx, deUint32 program, const tcu::Vec3& p0, const tcu::Vec3& p1);
|
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/ |
D | CubeActivity.java | 55 class Vec3 { class 58 public Vec3(float x, float y, float z) { this.x = x; this.y = y; this.z = z; } in Vec3() method in Vec3 62 public Vec3 normalize() { in normalize() 67 public Vec3 add(float v) { in add() 72 public Vec3 mul(float v) { in mul() 77 public float dot(Vec3 v) { in dot() 81 public Vec3 cross(Vec3 v) { in cross() 92 private Vec3 mRotAxis = new Vec3(0, 1, 0), 118 Vec3 u = normalVec(mCenterX, mCenterY), in fling() 132 Vec3 u = mCurrentDrag, // previous drag position in drag() [all …]
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieAdapter.h | 144 struct Vec3 { struct 147 explicit Vec3(const VectorValue&); argument 149 bool operator==(const Vec3& other) const { 152 bool operator!=(const Vec3& other) const { return !(*this == other); } 155 ADAPTER_PROPERTY(AnchorPoint, Vec3, Vec3({ 0, 0, 0})) 156 ADAPTER_PROPERTY(Position , Vec3, Vec3({ 0, 0, 0})) 157 ADAPTER_PROPERTY(Rotation , Vec3, Vec3({ 0, 0, 0})) 158 ADAPTER_PROPERTY(Scale , Vec3, Vec3({100, 100, 100}))
|