/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/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 46 using tcu::Vec3; 127 tcu::Vec3 minDX; 128 tcu::Vec3 maxDX; 129 tcu::Vec3 minDY; 130 tcu::Vec3 maxDY; 163 const tcu::Vec3& minDX_, in TextureLookupSpec() 164 const tcu::Vec3& maxDX_, in TextureLookupSpec() 165 const tcu::Vec3& minDY_, in TextureLookupSpec() 166 const tcu::Vec3& maxDY_, in TextureLookupSpec() 818 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/flatbuffers/tests/MyGame/Example/ |
D | Vec3.go | 22 func (rcv *Vec3) UnPackTo(t *Vec3T) { 31 func (rcv *Vec3) UnPack() *Vec3T { 38 type Vec3 struct { struct 42 func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT) { argument 47 func (rcv *Vec3) Table() flatbuffers.Table { argument 51 func (rcv *Vec3) X() float32 { argument 54 func (rcv *Vec3) MutateX(n float32) bool { argument 58 func (rcv *Vec3) Y() float32 { argument 61 func (rcv *Vec3) MutateY(n float32) bool { argument 65 func (rcv *Vec3) Z() float32 { argument [all …]
|
D | Vec3.java | 11 public final class Vec3 extends Struct { class 13 public Vec3 __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 48 public Vec3 get(int j) { return get(new Vec3(), j); } in get() 49 public Vec3 get(Vec3 obj, int j) { return obj.__assign(__element(j), bb); } in get()
|
/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/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 | 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()
|
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 …]
|
/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/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/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUtil.cpp | 539 std::vector<tcu::Vec3> generateReferenceTriangleTessCoords (const SpacingMode spacingMode, in generateReferenceTriangleTessCoords() 545 std::vector<tcu::Vec3> tessCoords; in generateReferenceTriangleTessCoords() 551 tessCoords.push_back(tcu::Vec3(1.0f, 0.0f, 0.0f)); in generateReferenceTriangleTessCoords() 552 tessCoords.push_back(tcu::Vec3(0.0f, 1.0f, 0.0f)); in generateReferenceTriangleTessCoords() 553 tessCoords.push_back(tcu::Vec3(0.0f, 0.0f, 1.0f)); in generateReferenceTriangleTessCoords() 562 …++) { const float v = (float)i / (float)outer0; tessCoords.push_back(tcu::Vec3( 0.0f, v,… in generateReferenceTriangleTessCoords() 563 …++) { const float v = (float)i / (float)outer1; tessCoords.push_back(tcu::Vec3(1.0f - v, 0.0f,… in generateReferenceTriangleTessCoords() 564 …++) { const float v = (float)i / (float)outer2; tessCoords.push_back(tcu::Vec3( v, 1.0f - v,… in generateReferenceTriangleTessCoords() 572 tessCoords.push_back(tcu::Vec3(1.0f/3.0f)); in generateReferenceTriangleTessCoords() 577 const tcu::Vec3 corners[3] = in generateReferenceTriangleTessCoords() [all …]
|
D | vktTessellationCoordinatesTests.cpp | 132 std::vector<tcu::Vec3> generateReferenceTessCoords (const TessPrimitiveType primitiveType, in generateReferenceTessCoords() 138 return std::vector<tcu::Vec3>(); in generateReferenceTessCoords() 196 return std::vector<tcu::Vec3>(); in generateReferenceTessCoords() 217 void drawTessCoordPoint (tcu::Surface& dst, const TessPrimitiveType primitiveType, const tcu::Vec3&… in drawTessCoordPoint() 250 …on (tcu::Surface& dst, const TessPrimitiveType primitiveType, const std::vector<tcu::Vec3>& coords) in drawTessCoordVisualization() 262 inline bool vec3XLessThan (const tcu::Vec3& a, const tcu::Vec3& b) in vec3XLessThan() 267 int binarySearchFirstVec3WithXAtLeast (const std::vector<tcu::Vec3>& sorted, float x) in binarySearchFirstVec3WithXAtLeast() 269 const tcu::Vec3 ref(x, 0.0f, 0.0f); in binarySearchFirstVec3WithXAtLeast() 270 …const std::vector<tcu::Vec3>::const_iterator first = std::lower_bound(sorted.begin(), sorted.end()… in binarySearchFirstVec3WithXAtLeast() 280 const std::vector<tcu::Vec3>& subset, in oneWayComparePointSets() [all …]
|
/third_party/boost/libs/proto/example/ |
D | vec3.cpp | 84 struct Vec3 struct 85 : proto::extends<proto::terminal<int[3]>::type, Vec3> 87 explicit Vec3(int i=0, int j=0, int k=0) in Vec3() argument 107 Vec3 &operator =(Expr const & expr) in operator =() argument 118 Vec3 &operator=(Vec3 const &that) in operator =() argument 154 Vec3 a, b, c; in main() 166 Vec3 d; in main()
|
/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}))
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 1959 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() 1977 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 1978 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures() 1979 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures() 1983 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 1984 geometryData.push_back(tcu::Vec3(x1, y1, z * 0.9f)); in initAccelerationStructures() 2118 std::vector<tcu::Vec3> geometryData; in initAccelerationStructures() 2136 geometryData.push_back(tcu::Vec3(x0, y0, z)); in initAccelerationStructures() 2137 geometryData.push_back(tcu::Vec3(xm, y1, z)); in initAccelerationStructures() 2138 geometryData.push_back(tcu::Vec3(x1, ym, z)); in initAccelerationStructures() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 172 float triangleInterpolate (const tcu::Vec3& v, float x, float y) in triangleInterpolate() 198 …eNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, const tcu::Vec3& sq) in computeNonProjectedTriLod() 236 …de, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq) in computeNonProjectedTriLod() 277 …Vec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec… in computeNonProjectedTriLod() 291 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate() 296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, fl… in triDerivateX() 302 static inline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, f… in triDerivateY() 309 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection,… in computeProjectedTriLod() 319 …loat computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3… in computeProjectedTriLod() 331 …teProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& w, const… in computeProjectedTriLod() [all …]
|
/third_party/flatbuffers/samples/ |
D | monster_generated.h | 12 struct Vec3; 22 bool operator==(const Vec3 &lhs, const Vec3 &rhs); 23 bool operator!=(const Vec3 &lhs, const Vec3 &rhs); 172 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Vec3 FLATBUFFERS_FINAL_CLASS { 182 Vec3() 187 Vec3(float _x, float _y, float _z) 211 FLATBUFFERS_STRUCT_END(Vec3, 12); 213 inline bool operator==(const Vec3 &lhs, const Vec3 &rhs) { 220 inline bool operator!=(const Vec3 &lhs, const Vec3 &rhs) { 227 flatbuffers::unique_ptr<MyGame::Sample::Vec3> pos{}; [all …]
|