Home
last modified time | relevance | path

Searched refs:float32 (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dglm.cpp19 template struct tvec1<float32, lowp>;
30 template struct tvec1<float32, mediump>;
41 template struct tvec1<float32, highp>;
53 template struct tvec2<float32, lowp>;
64 template struct tvec2<float32, mediump>;
75 template struct tvec2<float32, highp>;
87 template struct tvec3<float32, lowp>;
98 template struct tvec3<float32, mediump>;
109 template struct tvec3<float32, highp>;
121 template struct tvec4<float32, lowp>;
[all …]
Dtype_float.hpp11 typedef float float32; typedef
55 typedef float float32; typedef
61 GLM_STATIC_ASSERT(sizeof(glm::float32) == 4, "float32 size isn't 4 bytes on this platform");
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dto_toml.py105 float_type = np.float32
129 float32 = Float32("1.0")
130 self.assertEqual(float32.to_bits(), np.uint32(1065353216))
133 float32 = Float32("1.0")
134 self.assertEqual(float32.to_hex(), '3f800000')
137 float32 = Float32("1.0")
138 self.assertFalse(float32.is_denormal())
140 float32 = Float32("1e-45")
141 self.assertTrue(float32.is_denormal())
144 float32 = Float32("1e-45")
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/entrypoint/
Dvert_pc_entry_point.amber77 %float32 = OpTypeFloat 32
78 %fvec4 = OpTypeVector %float32 4
81 %type_array_float = OpTypeArray %float32 %const_uint_1
82 %gl_PerVertex = OpTypeStruct %fvec4 %float32 %type_array_float %type_array_float
86 %fvec2 = OpTypeVector %float32 2
91 %const_float32_0 = OpConstant %float32 0
92 %const_float32_1 = OpConstant %float32 1
105 %35 = OpCompositeExtract %float32 %32 0
106 %36 = OpCompositeExtract %float32 %32 1
114 %44 = OpCompositeExtract %float32 %43 0
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.cpp559 std::vector<float> float32; in getFloat32s() local
561 float32.reserve(count); in getFloat32s()
564 float32.push_back(0.f); in getFloat32s()
565 float32.push_back(-0.f); in getFloat32s()
567 float32.push_back(std::numeric_limits<float>::infinity()); in getFloat32s()
568 float32.push_back(-std::numeric_limits<float>::infinity()); in getFloat32s()
570 float32.push_back(std::numeric_limits<float>::signaling_NaN()); in getFloat32s()
571 float32.push_back(-std::numeric_limits<float>::signaling_NaN()); in getFloat32s()
573 float32.push_back(std::numeric_limits<float>::quiet_NaN()); in getFloat32s()
574 float32.push_back(-std::numeric_limits<float>::quiet_NaN()); in getFloat32s()
[all …]
/third_party/glslang/Test/
Dspv.float32.frag115 f32v = f32vec3(bv); // bool -> float32
116 bv = bvec3(f32v); // float32 -> bool
118 f32v = f32vec3(f64v); // double -> float32
119 f64v = f64vec3(f32v); // float32 -> double
121 f32v = f32vec3(f16v); // float16 -> float32
122 f16v = f16vec3(f32v); // float32 -> float16
124 i8v = i8vec3(f32v); // float32 -> int8
125 i16v = i16vec3(f32v); // float32 -> int16
126 i32v = i32vec3(f32v); // float32 -> int32
127 i64v = i64vec3(f32v); // float32 -> int64
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp37 v.color.float32[0] = r; in makeClearValueColorF32()
38 v.color.float32[1] = g; in makeClearValueColorF32()
39 v.color.float32[2] = b; in makeClearValueColorF32()
40 v.color.float32[3] = a; in makeClearValueColorF32()
72 v.color.float32[0] = color[0]; in makeClearValueColor()
73 v.color.float32[1] = color[1]; in makeClearValueColor()
74 v.color.float32[2] = color[2]; in makeClearValueColor()
75 v.color.float32[3] = color[3]; in makeClearValueColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemAttachmentClearTests.cpp184 const tcu::Vec4 clearValue (m_clearValue.color.float32[0] < 0.5f ? 1.0f : 0.0f, in iterate()
185 m_clearValue.color.float32[1] < 0.5f ? 1.0f : 0.0f, in iterate()
186 m_clearValue.color.float32[2] < 0.5f ? 1.0f : 0.0f, in iterate()
187 m_clearValue.color.float32[3] < 0.5f ? 1.0f : 0.0f); in iterate()
274 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate()
365 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createAttachmentClearTests()
DvktProtectedMemAttachmentLoadTests.cpp216 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate()
309 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createAttachmentLoadTests()
DvktProtectedMemClearColorImageTests.cpp238 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
327 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createClearColorImageTests()
DvktProtectedMemCopyImageTests.cpp343 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
432 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createCopyImageTests()
DvktProtectedMemBlitImageTests.cpp345 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
434 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createBlitImageTests()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_sampler.c32 return (VkClearColorValue) { .float32 = { 0, 0, 0, 0 } }; in vk_border_color_value()
36 return (VkClearColorValue) { .float32 = { 0, 0, 0, 1 } }; in vk_border_color_value()
40 return (VkClearColorValue) { .float32 = { 1, 1, 1, 1 } }; in vk_border_color_value()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp125 clearValue.color.float32[0] = defaultColor.x(); in defaultClearValue()
126 clearValue.color.float32[1] = defaultColor.y(); in defaultClearValue()
127 clearValue.color.float32[2] = defaultColor.z(); in defaultClearValue()
128 clearValue.color.float32[3] = defaultColor.w(); in defaultClearValue()
DvktPipelineSamplerBorderSwizzleTests.cpp421 borderColor[i] = color.float32[i]; in getExpectedColor()
429 result.float32[i] = expected[i]; in getExpectedColor()
461 tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue()
462 ref.float32[1], in comparePixelToColorClearValue()
463 ref.float32[2], in comparePixelToColorClearValue()
464 ref.float32[3]); in comparePixelToColorClearValue()
609 const tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue()
610 ref.float32[1], in comparePixelToColorClearValue()
611 ref.float32[2], in comparePixelToColorClearValue()
612 ref.float32[3]); in comparePixelToColorClearValue()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/
Dfwd.hpp1312 typedef detail::float32 lowp_float32;
1320 typedef detail::float32 lowp_float32_t;
1328 typedef float32 lowp_f32;
1336 typedef detail::float32 lowp_float32;
1344 typedef detail::float32 lowp_float32_t;
1352 typedef float32 lowp_f32;
1361 typedef detail::float32 lowp_float32;
1369 typedef detail::float32 lowp_float32_t;
1377 typedef float32 lowp_f32;
1386 typedef detail::float32 mediump_float32;
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp139 gl.uniform1fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue()
142 gl.uniform2fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue()
145 gl.uniform3fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue()
148 gl.uniform4fv(loc, 1, &val.elements[elemNdx].float32); in setUniformValue()
151 gl.uniformMatrix2fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue()
154 gl.uniformMatrix3fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue()
157 gl.uniformMatrix4fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue()
196 gl.uniformMatrix2x3fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue()
199 gl.uniformMatrix2x4fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue()
202 gl.uniformMatrix3x2fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); in setUniformValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
DClearImageBenchmarks.cpp78 clearColorValue.float32[0] = 0.0f; in initialize()
79 clearColorValue.float32[1] = 1.0f; in initialize()
80 clearColorValue.float32[2] = 0.0f; in initialize()
81 clearColorValue.float32[3] = 1.0f; in initialize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp263 m_initialColor.color.float32[0] = 0.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
264 m_initialColor.color.float32[1] = 0.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
265 m_initialColor.color.float32[2] = 0.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
266 m_initialColor.color.float32[3] = 1.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
269 m_clearColor.color.float32[0] = 1.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
270 m_clearColor.color.float32[1] = 1.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
271 m_clearColor.color.float32[2] = 1.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
272 m_clearColor.color.float32[3] = 1.0f; in MultipleSubpassesMultipleCommandBuffersTestInstance()
DvktRenderPassUnusedClearAttachmentTests.cpp426 m_initialColor.color.float32[0] = 0.0f; in UnusedClearAttachmentTestInstance()
427 m_initialColor.color.float32[1] = 0.0f; in UnusedClearAttachmentTestInstance()
428 m_initialColor.color.float32[2] = 0.0f; in UnusedClearAttachmentTestInstance()
429 m_initialColor.color.float32[3] = 1.0f; in UnusedClearAttachmentTestInstance()
435 m_clearColor.color.float32[0] = 1.0f; in UnusedClearAttachmentTestInstance()
436 m_clearColor.color.float32[1] = 1.0f; in UnusedClearAttachmentTestInstance()
437 m_clearColor.color.float32[2] = 1.0f; in UnusedClearAttachmentTestInstance()
438 m_clearColor.color.float32[3] = 1.0f; in UnusedClearAttachmentTestInstance()
977 …efColor = (m_testParams.colorUsed[i] ? m_clearColor.color.float32 : m_initialColor.color.float32); in iterate()
/third_party/skia/tests/
DVkDrawableTest.cpp61 vkColor.float32[0] = 1.0f; // r in draw()
62 vkColor.float32[1] = 0.0f; // g in draw()
63 vkColor.float32[2] = 0.0f; // b in draw()
64 vkColor.float32[3] = 1.0f; // a in draw()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dtype_precision.hpp594 typedef detail::float32 float32; typedef
603 typedef detail::float32 float32_t;
612 typedef float32 f32;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp446 …ference.setPixel(tcu::Vec4(clearColor.float32[0], clearColor.float32[1], clearColor.float32[2], cl… in prepareReferenceImageOneColor()
481 …ixel(tcu::Vec4(clearColorFinal.float32[0], clearColorFinal.float32[1], clearColorFinal.float32[2],… in prepareReferenceImageColorClearPartial()
483 …tcu::Vec4(clearColorInitial.float32[0], clearColorInitial.float32[1], clearColorInitial.float32[2]… in prepareReferenceImageColorClearPartial()
1026 reference.setPixel(tcu::Vec4(clearColor.float32), w, h); in prepareReferenceImage()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderLibraryCase.cpp798 case TYPE_FLOAT: gl.uniform1fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue()
799 case TYPE_FLOAT_VEC2: gl.uniform2fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue()
800 case TYPE_FLOAT_VEC3: gl.uniform3fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue()
801 case TYPE_FLOAT_VEC4: gl.uniform4fv(loc, 1, &val.elements[elemNdx].float32); break; in setUniformValue()
802 …case TYPE_FLOAT_MAT2: gl.uniformMatrix2fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); brea… in setUniformValue()
803 …case TYPE_FLOAT_MAT3: gl.uniformMatrix3fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); brea… in setUniformValue()
804 …case TYPE_FLOAT_MAT4: gl.uniformMatrix4fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); brea… in setUniformValue()
817 …case TYPE_FLOAT_MAT2X3: gl.uniformMatrix2x3fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); b… in setUniformValue()
818 …case TYPE_FLOAT_MAT2X4: gl.uniformMatrix2x4fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); b… in setUniformValue()
819 …case TYPE_FLOAT_MAT3X2: gl.uniformMatrix3x2fv(loc, 1, GL_FALSE, &val.elements[elemNdx].float32); b… in setUniformValue()
[all …]
/third_party/node/deps/v8/src/builtins/
Dconvert.tq336 Convert<float64, float32>(f: float32): float64 {
345 Convert<float32, float64>(f: float64): float32 {
348 Convert<float32, Number>(n: Number): float32 {
349 return Convert<float32>(ChangeNumberToFloat64(n));

123456