Home
last modified time | relevance | path

Searched refs:vertex (Results 1 - 25 of 277) sorted by relevance

12345678910>>...12

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_compile_ff_gs.c49 * Register holding streamed vertex buffer pointers -- see the Sandy
55 struct brw_reg vertex[MAX_GS_VERTS]; member
66 /* Number of registers used to store vertex data */
78 * 1 needs to be set aside to hold the streamed vertex buffer indices.
92 /* Streamed vertex buffer indices */ in brw_ff_gs_alloc_regs()
99 c->reg.vertex[j] = brw_vec4_grf(i, 0); in brw_ff_gs_alloc_regs()
141 * need to be able to update on a per-vertex basis.
171 * for each vertex.
183 * Emit a vertex using the URB_WRITE message. Use the contents of
185 * for the vertex dat
378 unsigned vertex, binding; gfx6_sol_program() local
[all...]
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_exec_eval.c155 GLfloat vertex[4]; in vbo_exec_do_EvalCoord1f() local
157 ASSIGN_4V(vertex, 0, 0, 0, 1); in vbo_exec_do_EvalCoord1f()
159 _math_horner_bezier_curve(map->Points, vertex, uu, in vbo_exec_do_EvalCoord1f()
164 CALL_Vertex4fv(ctx->CurrentServerDispatch, ( vertex )); in vbo_exec_do_EvalCoord1f()
166 CALL_Vertex3fv(ctx->CurrentServerDispatch, ( vertex )); in vbo_exec_do_EvalCoord1f()
206 GLfloat vertex[4]; in vbo_exec_do_EvalCoord2f() local
208 ASSIGN_4V(vertex, 0, 0, 0, 1); in vbo_exec_do_EvalCoord2f()
214 _math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv, in vbo_exec_do_EvalCoord2f()
219 du[0] = du[0]*vertex[3] - du[3]*vertex[ in vbo_exec_do_EvalCoord2f()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.hpp83 // Checks the given vertex buffer format is valid for acceleration structures.
115 virtual void addVertex (const tcu::Vec3& vertex) = 0;
198 template<typename V> V convertFloatTo (const tcu::Vec3& vertex);
199 template<> inline tcu::Vec2 convertFloatTo<tcu::Vec2> (const tcu::Vec3& vertex) { return tcu::Vec2(vertex.x(), vertex.y()); } in convertFloatTo() argument
200 template<> inline tcu::Vec3 convertFloatTo<tcu::Vec3> (const tcu::Vec3& vertex) { return vertex; } in convertFloatTo() argument
201 template<> inline tcu::Vec4 convertFloatTo<tcu::Vec4> (const tcu::Vec3& vertex) { return tcu::Vec4(vertex in convertFloatTo() argument
202 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
203 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
204 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
205 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
206 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
207 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
208 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
209 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
210 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
211 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
212 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
213 convertFloatTo(const tcu::Vec3& vertex) convertFloatTo() argument
381 addVertex(const tcu::Vec3& vertex) addVertex() argument
387 addNativeVertex(const V& vertex) addNativeVertex() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_renderer.c133 /* vertex elements state */ in renderer_init_state()
146 float *vertex = r->buffer + r->buffer_size; in add_vertex_none() local
148 vertex[0] = x; in add_vertex_none()
149 vertex[1] = y; in add_vertex_none()
150 vertex[2] = 0.f; /*z */ in add_vertex_none()
151 vertex[3] = 1.f; /*w */ in add_vertex_none()
159 float *vertex = r->buffer + r->buffer_size; in add_vertex_1tex() local
161 vertex[0] = x; in add_vertex_1tex()
162 vertex[1] = y; in add_vertex_1tex()
163 vertex[ in add_vertex_1tex()
178 float *vertex = r->buffer + r->buffer_size; add_vertex_2tex() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp461 const Vertex4RGBA vertex = in createBufferData() local
467 vertices.push_back(vertex); in createBufferData()
477 const Vertex4RGBA vertex = in createBufferData() local
483 vertices.push_back(vertex); in createBufferData()
494 Vertex4RGBA vertex = in createBufferData() local
500 vertices.push_back(vertex); in createBufferData()
503 vertex.position = tcu::Vec4(originX, originY + primitiveSizeY, 0.0f, 1.0f); in createBufferData()
504 vertices.push_back(vertex); in createBufferData()
509 const Vertex4RGBA vertex = in createBufferData() local
515 vertices.push_back(vertex); in createBufferData()
526 const Vertex4RGBA vertex = createBufferData() local
545 const Vertex4RGBA vertex = createBufferData() local
557 const Vertex4RGBA vertex = createBufferData() local
577 Vertex4RGBA vertex = createBufferData() local
596 const Vertex4RGBA vertex = createBufferData() local
618 const Vertex4RGBA vertex = createBufferData() local
641 Vertex4RGBA vertex = createBufferData() local
656 const Vertex4RGBA vertex = createBufferData() local
677 const Vertex4RGBA vertex = createBufferData() local
699 const Vertex4RGBA vertex = createBufferData() local
712 const Vertex4RGBA vertex = createBufferData() local
879 const Vertex4RGBA vertex = createBufferData() local
891 const Vertex4RGBA vertex = createBufferData() local
918 const Vertex4RGBA vertex = createBufferData() local
930 const Vertex4RGBA vertex = createBufferData() local
958 Vertex4RGBA vertex = createBufferData() local
974 const Vertex4RGBA vertex = createBufferData() local
1004 const Vertex4RGBA vertex = createBufferData() local
1016 const Vertex4RGBA vertex = createBufferData() local
1046 const Vertex4RGBA vertex = createBufferData() local
1060 const Vertex4RGBA vertex = createBufferData() local
1152 const Vertex4RGBA vertex = createListPrimitives() local
1162 const Vertex4RGBA vertex = createListPrimitives() local
[all...]
H A DvktPipelineDepthRangeUnrestrictedTests.cpp746 // Create vertex buffer in DepthRangeUnrestrictedTestInstance()
750 // Load vertices into vertex buffer in DepthRangeUnrestrictedTestInstance()
952 for (std::vector<Vertex4RGBA>::const_iterator vertex = m_vertices.begin(); vertex != m_vertices.end(); ++vertex) in verifyTestResult()
954 if (m_param.depthClampEnable == VK_FALSE && (vertex->position.z() < 0.0f || vertex->position.z() > vertex->position.w())) in verifyTestResult()
961 float scaling = ((vertex->position.z() / vertex in verifyTestResult()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderPipelineValidationTests.cpp30 [[stage(vertex)]] fn main() -> [[builtin(position)]] vec4<f32> {
63 descriptor.vertex.module = vsModule; in TEST_F()
75 descriptor.vertex.module = vsModule; in TEST_F()
84 descriptor.vertex.module = vsModule; in TEST_F()
93 descriptor.vertex.module = vsModule; in TEST_F()
103 descriptor.vertex.module = vsModule; in TEST_F()
112 descriptor.vertex.module = vsModule; in TEST_F()
125 descriptor.vertex.module = vsModule; in TEST_F()
138 descriptor.vertex.module = vsModule; in TEST_F()
150 descriptor.vertex in TEST_F()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp464 const Vertex4RGBA vertex = in createBufferData() local
470 vertices.push_back(vertex); in createBufferData()
480 const Vertex4RGBA vertex = in createBufferData() local
486 vertices.push_back(vertex); in createBufferData()
497 Vertex4RGBA vertex = in createBufferData() local
503 vertices.push_back(vertex); in createBufferData()
506 vertex.position = tcu::Vec4(originX, originY + primitiveSizeY, 0.0f, 1.0f); in createBufferData()
507 vertices.push_back(vertex); in createBufferData()
512 const Vertex4RGBA vertex = in createBufferData() local
518 vertices.push_back(vertex); in createBufferData()
529 const Vertex4RGBA vertex = createBufferData() local
548 const Vertex4RGBA vertex = createBufferData() local
560 const Vertex4RGBA vertex = createBufferData() local
580 Vertex4RGBA vertex = createBufferData() local
599 const Vertex4RGBA vertex = createBufferData() local
621 const Vertex4RGBA vertex = createBufferData() local
644 Vertex4RGBA vertex = createBufferData() local
659 const Vertex4RGBA vertex = createBufferData() local
680 const Vertex4RGBA vertex = createBufferData() local
702 const Vertex4RGBA vertex = createBufferData() local
715 const Vertex4RGBA vertex = createBufferData() local
883 const Vertex4RGBA vertex = createBufferData() local
895 const Vertex4RGBA vertex = createBufferData() local
922 const Vertex4RGBA vertex = createBufferData() local
934 const Vertex4RGBA vertex = createBufferData() local
962 Vertex4RGBA vertex = createBufferData() local
978 const Vertex4RGBA vertex = createBufferData() local
1008 const Vertex4RGBA vertex = createBufferData() local
1020 const Vertex4RGBA vertex = createBufferData() local
1050 const Vertex4RGBA vertex = createBufferData() local
1064 const Vertex4RGBA vertex = createBufferData() local
1156 const Vertex4RGBA vertex = createListPrimitives() local
1166 const Vertex4RGBA vertex = createListPrimitives() local
[all...]
H A DvktPipelineDepthRangeUnrestrictedTests.cpp745 // Create vertex buffer in DepthRangeUnrestrictedTestInstance()
749 // Load vertices into vertex buffer in DepthRangeUnrestrictedTestInstance()
947 for (std::vector<Vertex4RGBA>::const_iterator vertex = m_vertices.begin(); vertex != m_vertices.end(); ++vertex) in verifyTestResult()
949 if (m_param.depthClampEnable == VK_FALSE && (vertex->position.z() < 0.0f || vertex->position.z() > vertex->position.w())) in verifyTestResult()
956 float scaling = ((vertex->position.z() / vertex in verifyTestResult()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DD3D12CachingTests.cpp104 [[stage(vertex)]] fn vertex_main() -> [[builtin(position)]] vec4<f32> { in TEST_P()
116 desc.vertex.module = module; in TEST_P()
117 desc.vertex.entryPoint = "vertex_main"; in TEST_P()
129 desc.vertex.module = module; in TEST_P()
130 desc.vertex.entryPoint = "vertex_main"; in TEST_P()
145 [[stage(vertex)]] fn vertex_main() -> [[builtin(position)]] vec4<f32> { in TEST_P()
157 desc.vertex.module = module; in TEST_P()
158 desc.vertex.entryPoint = "vertex_main"; in TEST_P()
170 desc.vertex.module = module; in TEST_P()
171 desc.vertex in TEST_P()
[all...]
H A DShaderTests.cpp118 [[stage(vertex)]] in TEST_P()
136 rpDesc.vertex.module = vsModule; in TEST_P()
141 // Tests that a vertex shader using struct function parameters and return values for shader stage
155 [[stage(vertex)]] in TEST_P()
172 rpDesc.vertex.module = vsModule; in TEST_P()
174 rpDesc.vertex.bufferCount = 1; in TEST_P()
198 [[stage(vertex)]] in TEST_P()
220 rpDesc.vertex.module = vsModule; in TEST_P()
222 rpDesc.vertex.bufferCount = 1; in TEST_P()
245 [[stage(vertex)]] in TEST_P()
[all...]
/third_party/mesa3d/src/gallium/tests/graw/
H A Dtex-srgb.c16 struct vertex { struct
21 static struct vertex vertices1[] =
37 static struct vertex vertices2[] =
56 set_vertices(struct vertex *verts, unsigned num_verts) in set_vertices()
64 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
66 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
74 vbuf.stride = sizeof(struct vertex); in set_vertices()
79 num_verts * sizeof(struct vertex), in set_vertices()
H A Docclusion-query.c20 struct vertex { struct
28 static struct vertex obj1_vertices[4] =
51 static struct vertex obj2_vertices[4] =
79 set_vertices(struct vertex *vertices, unsigned bytes) in set_vertices()
87 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
89 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
96 vbuf.stride = sizeof(struct vertex); in set_vertices()
124 debug_printf("Failed to parse vertex shader\n"); in set_vertex_shader()
H A Dfs-fragcoord.c18 struct vertex { struct
23 /* Note: the upper-left vertex is pushed to the left a bit to
26 static struct vertex vertices[] =
61 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
63 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
71 vbuf.stride = sizeof(struct vertex); in set_vertices()
H A Dfs-write-z.c19 struct vertex { struct
29 static struct vertex vertices[] =
87 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
89 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
97 vbuf.stride = sizeof(struct vertex); in set_vertices()
H A Dfs-frontface.c16 struct vertex { struct
25 static struct vertex vertices[] =
83 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
85 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
93 vbuf.stride = sizeof(struct vertex); in set_vertices()
H A Dtri-large.c17 struct vertex { struct
25 static struct vertex vertices[3] =
50 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
52 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
60 vbuf.stride = sizeof( struct vertex ); in set_vertices()
H A Dtri.c14 struct vertex { struct
22 static struct vertex vertices[3] =
47 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
49 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
57 vbuf.stride = sizeof( struct vertex ); in set_vertices()
/third_party/glfw/examples/
H A Dwave.c54 struct Vertex vertex[VERTEXNUM]; variable
82 vertex[p].x = (GLfloat) (x - GRIDW / 2) / (GLfloat) (GRIDW / 2); in init_vertices()
83 vertex[p].y = (GLfloat) (y - GRIDH / 2) / (GLfloat) (GRIDH / 2); in init_vertices()
84 vertex[p].z = 0; in init_vertices()
87 vertex[p].r = 0.0; in init_vertices()
89 vertex[p].r = 1.0; in init_vertices()
91 vertex[p].g = (GLfloat) y / (GLfloat) GRIDH; in init_vertices()
92 vertex[p].b = 1.f - ((GLfloat) x / (GLfloat) GRIDW + (GLfloat) y / (GLfloat) GRIDH) / 2.f; in init_vertices()
185 glVertexPointer(3, GL_FLOAT, sizeof(struct Vertex), vertex); in init_opengl()
186 glColorPointer(3, GL_FLOAT, sizeof(struct Vertex), &vertex[ in init_opengl()
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_vbo.c100 "Converting vertex element %d, no hw format %s", in nvc0_vertex_state_create()
175 struct pipe_vertex_element *ve = &nvc0->vertex->element[a].pipe; in nvc0_set_constant_vertex_attrib()
206 if (unlikely(nvc0->vertex->instance_bufs & (1 << vbi))) { in nvc0_user_vbuf_range()
207 const uint32_t div = nvc0->vertex->min_instance_div[vbi]; in nvc0_user_vbuf_range()
210 nvc0->vertex->vb_access_size[vbi]; in nvc0_user_vbuf_range()
216 nvc0->vertex->vb_access_size[vbi]; in nvc0_user_vbuf_range()
237 PUSH_SPACE(push, nvc0->vertex->num_elements * 8); in nvc0_update_user_vbufs()
238 for (i = 0; i < nvc0->vertex->num_elements; ++i) { in nvc0_update_user_vbufs()
239 struct pipe_vertex_element *ve = &nvc0->vertex->element[i].pipe; in nvc0_update_user_vbufs()
318 const struct nvc0_vertex_stateobj *vertex in nvc0_validate_vertex_buffers() local
438 struct nvc0_vertex_stateobj *vertex = nvc0->vertex; nvc0_vertex_arrays_validate() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Dgl_raii.h259 #define ANGLE_GL_PROGRAM(name, vertex, fragment) \
261 name.makeRaster(vertex, fragment); \
264 #define ANGLE_GL_PROGRAM_WITH_GS(name, vertex, geometry, fragment) \
266 name.makeRaster(vertex, geometry, fragment); \
269 #define ANGLE_GL_PROGRAM_WITH_TESS(name, vertex, tcs, tes, fragment) \
271 name.makeRaster(vertex, tcs, tes, fragment); \
274 #define ANGLE_GL_PROGRAM_TRANSFORM_FEEDBACK(name, vertex, fragment, tfVaryings, bufferMode) \
276 name.makeRasterWithTransformFeedback(vertex, fragment, tfVaryings, bufferMode); \
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
H A DWireExtensionTests.cpp41 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
42 renderPipelineDesc.vertex.entryPoint = "main"; in TEST_F()
79 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
80 renderPipelineDesc.vertex.entryPoint = "main"; in TEST_F()
140 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
141 renderPipelineDesc.vertex.entryPoint = "main"; in TEST_F()
168 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
169 renderPipelineDesc.vertex.entryPoint = "main"; in TEST_F()
202 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
203 renderPipelineDesc.vertex in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DVertexRoutine.hpp28 VertexRoutinePrototype() : vertex(Arg<0>()), batch(Arg<1>()), task(Arg<2>()), data(Arg<3>()) {} in VertexRoutinePrototype()
32 Pointer<Byte> vertex; member in sw::VertexRoutinePrototype
66 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheLine);
67 void transformFeedback(const Pointer<Byte> &vertex, const UInt &primitiveNumber, const UInt &indexInPrimitive);
/third_party/skia/third_party/externals/dawn/examples/
H A DCubeReflection.cpp122 [[stage(vertex)]] fn main( in init()
189 descriptor.vertex.module = vsModule; in init()
190 descriptor.vertex.bufferCount = 1; in init()
191 descriptor.vertex.buffers = &vertexBufferLayout; in init()
207 descriptor.vertex.module = vsModule; in init()
208 descriptor.vertex.bufferCount = 1; in init()
209 descriptor.vertex.buffers = &vertexBufferLayout; in init()
226 descriptor.vertex.module = vsModule; in init()
227 descriptor.vertex.bufferCount = 1; in init()
228 descriptor.vertex in init()
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DComboRenderPipelineDescriptor.cpp49 // Set defaults for the vertex state. in ComboRenderPipelineDescriptor()
51 wgpu::VertexState* vertex = &descriptor->vertex; in ComboRenderPipelineDescriptor() local
52 vertex->module = nullptr; in ComboRenderPipelineDescriptor()
53 vertex->entryPoint = "main"; in ComboRenderPipelineDescriptor()
54 vertex->bufferCount = 0; in ComboRenderPipelineDescriptor()
74 vertex->buffers = &cBuffers[0]; in ComboRenderPipelineDescriptor()

Completed in 18 milliseconds

12345678910>>...12