Home
last modified time | relevance | path

Searched refs:vec4 (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dpacking.hpp183 GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const & v);
199 GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p);
241 GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const & v);
257 GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p);
292 GLM_FUNC_DECL uint64 packHalf4x16(vec4 const & v);
305 GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p);
371 GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const & v);
388 GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p);
406 GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const & v);
423 GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p);
[all …]
Dpacking.inl7 #include "../vec4.hpp"
426 GLM_FUNC_QUALIFIER uint64 packUnorm4x16(vec4 const & v)
434 GLM_FUNC_QUALIFIER vec4 unpackUnorm4x16(uint64 p)
438 return vec4(Unpack) * 1.5259021896696421759365224689097e-5f; // 1.0 / 65535.0
458 GLM_FUNC_QUALIFIER uint64 packSnorm4x16(vec4 const & v)
466 GLM_FUNC_QUALIFIER vec4 unpackSnorm4x16(uint64 p)
471 vec4(Unpack) * 3.0518509475997192297128208258309e-5f, //1.0f / 32767.0f,
490 GLM_FUNC_QUALIFIER uint64 packHalf4x16(glm::vec4 const & v)
502 GLM_FUNC_QUALIFIER glm::vec4 unpackHalf4x16(uint64 v)
506 return vec4(
[all …]
/hardware/google/gfxstream/host/vulkan/
DCompositor.vert8 vec4 alpha;
9 vec4 color;
18 gl_Position = vec4((ubo.posTransform * vec4(inPosition, 0.0, 1.0)).xy, 0.0, 1.0);
19 fragTexCoord = (ubo.texcoordTransform * vec4(texCoord, 0.0, 1.0)).xy;
DCompositor.frag9 vec4 alpha;
10 vec4 color;
15 layout(location = 0) out vec4 outColor;
23 outColor = vec4(0.0, 1.0, 0.0, 1.0);
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.vert4 layout(location = 2) in vec4 aColor;
12 vec4 gl_Position;
16 vec4 Color;
24 gl_Position = vec4(aPos*pc.uScale+pc.uTranslate, 0, 1);
Doverlay.frag2 layout(location = 0) out vec4 fColor;
7 vec4 Color;
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_packing.hpp59 GLM_FUNC_DECL uint packUnorm4x8(vec4 const & v);
72 GLM_FUNC_DECL uint packSnorm4x8(vec4 const & v);
111 GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p);
124 GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p);
Dfunc_packing.inl68 GLM_FUNC_QUALIFIER uint packUnorm4x8(vec4 const & v)
86 GLM_FUNC_QUALIFIER vec4 unpackUnorm4x8(uint p)
96 return vec4(u.out[0], u.out[1], u.out[2], u.out[3]) * 0.0039215686274509803921568627451f;
99 GLM_FUNC_QUALIFIER uint packSnorm4x8(vec4 const & v)
117 GLM_FUNC_QUALIFIER glm::vec4 unpackSnorm4x8(uint p)
127 return clamp(vec4(u.out[0], u.out[1], u.out[2], u.out[3]) * 0.0078740157480315f, -1.0f, 1.0f);
Dtype_vec.hpp445 typedef lowp_vec4 vec4; typedef
449 typedef mediump_vec4 vec4; typedef
464 typedef highp_vec4 vec4; typedef
/hardware/interfaces/sensors/aidl/default/multihal/
DConvertUtils.cpp84 hidlEvent->u.vec4.x = aidlEvent.payload.get<Event::EventPayload::vec4>().x; in convertToHidlEvent()
85 hidlEvent->u.vec4.y = aidlEvent.payload.get<Event::EventPayload::vec4>().y; in convertToHidlEvent()
86 hidlEvent->u.vec4.z = aidlEvent.payload.get<Event::EventPayload::vec4>().z; in convertToHidlEvent()
87 hidlEvent->u.vec4.w = aidlEvent.payload.get<Event::EventPayload::vec4>().w; in convertToHidlEvent()
235 AidlEvent::EventPayload::Vec4 vec4; in convertToAidlEvent() local
236 vec4.x = hidlEvent.u.vec4.x; in convertToAidlEvent()
237 vec4.y = hidlEvent.u.vec4.y; in convertToAidlEvent()
238 vec4.z = hidlEvent.u.vec4.z; in convertToAidlEvent()
239 vec4.w = hidlEvent.u.vec4.w; in convertToAidlEvent()
240 aidlEvent->payload.set<Event::EventPayload::vec4>(vec4); in convertToAidlEvent()
/hardware/google/gfxstream/common/end2end/
Dsimple_shader.frag18 vec4 color1;
21 layout (location = 0) in vec4 color;
23 layout (location = 0) out vec4 outColor;
Dsimple_shader.vert17 layout (location = 0) in vec4 pos;
18 layout (location = 1) in vec4 inColor;
20 layout (location = 0) out vec4 outColor;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_glsl_shader.adoc44 "layout(location = 1) in vec4 aColor;\n"
45 "out vec4 vColor;\n"
49 " gl_Position = vec4(aVertex, 0, 1);\n"
DVK_NV_clip_space_w_scaling.adoc113 const vec4 positions[3] = vec4[3](vec4(-1, -1, 0, 1),
114 vec4( 3, -1, 0, 1),
115 vec4(-1, 3, 0, 1));
119 vec4 pos = positions[ gl_VertexID ];
128 out vec4 Color;
DVK_HUAWEI_invocation_mask.adoc43 Layout(location = 2) out vec4 outRTmask
44 vec4 mask = vec4(x,x,x,x);
DVK_QCOM_image_processing2.adoc66 vec4 textureBlockMatchWindowSAD( sampler2D target,
98 return vec4(minSAD, minCoord.x, minCoord.y, 0.0);
100 return vec4(maxSAD, maxCoord.x, maxCoord.y, 0.0);
111 vec4 textureBlockMatchGatherSAD( sampler2D target,
116 vec4 out;
DVK_AMD_shader_fragment_mask.adoc64 layout(location = 0) out vec4 fragColor;
68 vec4 fragOne = vec4(0.0);
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp100 dst->u.vec4.x = src.data[0]; in convertFromSensorEvent()
101 dst->u.vec4.y = src.data[1]; in convertFromSensorEvent()
102 dst->u.vec4.z = src.data[2]; in convertFromSensorEvent()
103 dst->u.vec4.w = src.data[3]; in convertFromSensorEvent()
236 dst->data[0] = src.u.vec4.x; in convertToSensorEvent()
237 dst->data[1] = src.u.vec4.y; in convertToSensorEvent()
238 dst->data[2] = src.u.vec4.z; in convertToSensorEvent()
239 dst->data[3] = src.u.vec4.w; in convertToSensorEvent()
/hardware/interfaces/sensors/aidl/convert/
Dconvert.cpp118 dst->data[0] = src.payload.get<Event::EventPayload::vec4>().x; in convertToSensorEvent()
119 dst->data[1] = src.payload.get<Event::EventPayload::vec4>().y; in convertToSensorEvent()
120 dst->data[2] = src.payload.get<Event::EventPayload::vec4>().z; in convertToSensorEvent()
121 dst->data[3] = src.payload.get<Event::EventPayload::vec4>().w; in convertToSensorEvent()
330 Event::EventPayload::Vec4 vec4; in convertFromSensorEvent() local
331 vec4.x = src.data[0]; in convertFromSensorEvent()
332 vec4.y = src.data[1]; in convertFromSensorEvent()
333 vec4.z = src.data[2]; in convertFromSensorEvent()
334 vec4.w = src.data[3]; in convertFromSensorEvent()
335 dst->payload.set<Event::EventPayload::Tag::vec4>(vec4); in convertFromSensorEvent()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_HUAWEI_invocation_mask.adoc119 Layout(location = 2) out vec4 outRTmask
120 vec4 mask = vec4(x,x,x,x);
/hardware/google/gfxstream/common/detector/shaders/
Dblit_texture.frag7 layout(location = 0) out vec4 oColor;
Dblit_texture_lowp.frag7 layout(location = 0) out vec4 oColor;
Dblit_texture_highp.frag7 layout(location = 0) out vec4 oColor;
Dblit_texture_mediump.frag7 layout(location = 0) out vec4 oColor;
Dblit_texture.vert20 gl_Position = vec4(kPositions[gl_VertexIndex], 0.0, 1.0);

1234