Home
last modified time | relevance | path

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

12345678

/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.cpp575 std::vector<float> float32; in getFloat32s() local
577 float32.reserve(count); in getFloat32s()
580 float32.push_back(0.f); in getFloat32s()
581 float32.push_back(-0.f); in getFloat32s()
583 float32.push_back(std::numeric_limits<float>::infinity()); in getFloat32s()
584 float32.push_back(-std::numeric_limits<float>::infinity()); in getFloat32s()
586 float32.push_back(std::numeric_limits<float>::signaling_NaN()); in getFloat32s()
587 float32.push_back(-std::numeric_limits<float>::signaling_NaN()); in getFloat32s()
589 float32.push_back(std::numeric_limits<float>::quiet_NaN()); in getFloat32s()
590 float32.push_back(-std::numeric_limits<float>::quiet_NaN()); in getFloat32s()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmUtils.cpp575 std::vector<float> float32; in getFloat32s() local
577 float32.reserve(count); in getFloat32s()
580 float32.push_back(0.f); in getFloat32s()
581 float32.push_back(-0.f); in getFloat32s()
583 float32.push_back(std::numeric_limits<float>::infinity()); in getFloat32s()
584 float32.push_back(-std::numeric_limits<float>::infinity()); in getFloat32s()
586 float32.push_back(std::numeric_limits<float>::signaling_NaN()); in getFloat32s()
587 float32.push_back(-std::numeric_limits<float>::signaling_NaN()); in getFloat32s()
589 float32.push_back(std::numeric_limits<float>::quiet_NaN()); in getFloat32s()
590 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.cpp242 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
331 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createClearColorImageTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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.cpp242 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
331 … refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.float32[2],… in createClearColorImageTests()
/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/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/vulkancts/modules_no_buildgn/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.cpp424 borderColor[i] = color.float32[i]; in getExpectedColor()
432 result.float32[i] = expected[i]; in getExpectedColor()
464 tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue()
465 ref.float32[1], in comparePixelToColorClearValue()
466 ref.float32[2], in comparePixelToColorClearValue()
467 ref.float32[3]); in comparePixelToColorClearValue()
612 const tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue()
613 ref.float32[1], in comparePixelToColorClearValue()
614 ref.float32[2], in comparePixelToColorClearValue()
615 ref.float32[3]); in comparePixelToColorClearValue()
[all …]
/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.cpp424 borderColor[i] = color.float32[i]; in getExpectedColor()
432 result.float32[i] = expected[i]; in getExpectedColor()
464 tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue()
465 ref.float32[1], in comparePixelToColorClearValue()
466 ref.float32[2], in comparePixelToColorClearValue()
467 ref.float32[3]); in comparePixelToColorClearValue()
612 const tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue()
613 ref.float32[1], in comparePixelToColorClearValue()
614 ref.float32[2], in comparePixelToColorClearValue()
615 ref.float32[3]); in comparePixelToColorClearValue()
[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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
/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()

12345678