Home
last modified time | relevance | path

Searched refs:vertexAttribs (Results 1 – 25 of 99) sorted by relevance

1234

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp279 rr::VertexAttrib vertexAttribs[2]; in draw() local
283 vertexAttribs[0].size = 4; in draw()
287 vertexAttribs[1].size = 4; in draw()
288 vertexAttribs[1].pointer = colors.data(); in draw()
312 rr::VertexAttrib vertexAttribs[3]; in draw() local
316 vertexAttribs[0].size = 4; in draw()
320 vertexAttribs[1].size = 4; in draw()
324 vertexAttribs[2].size = 4; in draw()
348 rr::VertexAttrib vertexAttribs[2]; in draw() local
352 vertexAttribs[0].size = 4; in draw()
[all …]
/dports/graphics/embree/embree-3.13.2/kernels/common/
H A Dscene_grid_mesh.cpp31 vertexAttribs.resize(N); in setVertexAttributeCount()
62 if (slot >= vertexAttribs.size()) in setBuffer()
65 vertexAttribs[slot].set(buffer, offset, stride, num, format); in setBuffer()
66 vertexAttribs[slot].checkPadding16(); in setBuffer()
98 if (slot >= vertexAttribs.size()) in getBuffer()
100 return vertexAttribs[slot].getPtr(); in getBuffer()
125 if (slot >= vertexAttribs.size()) in updateBuffer()
127 vertexAttribs[slot].setModified(); in updateBuffer()
162 for (const auto& buffer : vertexAttribs) in verify()
H A Dscene_triangle_mesh.cpp31 vertexAttribs.resize(N); in setVertexAttributeCount()
62 if (slot >= vertexAttribs.size()) in setBuffer()
65 vertexAttribs[slot].set(buffer, offset, stride, num, format); in setBuffer()
66 vertexAttribs[slot].checkPadding16(); in setBuffer()
98 if (slot >= vertexAttribs.size()) in getBuffer()
100 return vertexAttribs[slot].getPtr(); in getBuffer()
125 if (slot >= vertexAttribs.size()) in updateBuffer()
127 vertexAttribs[slot].setModified(); in updateBuffer()
162 for (const auto& buffer : vertexAttribs) in verify()
H A Dscene_quad_mesh.cpp31 vertexAttribs.resize(N); in setVertexAttributeCount()
62 if (slot >= vertexAttribs.size()) in setBuffer()
65 vertexAttribs[slot].set(buffer, offset, stride, num, format); in setBuffer()
66 vertexAttribs[slot].checkPadding16(); in setBuffer()
98 if (slot >= vertexAttribs.size()) in getBuffer()
100 return vertexAttribs[slot].getPtr(); in getBuffer()
125 if (slot >= vertexAttribs.size()) in updateBuffer()
127 vertexAttribs[slot].setModified(); in updateBuffer()
H A Dscene_points.cpp34 vertexAttribs.resize(N); in setVertexAttributeCount()
76 if (slot >= vertexAttribs.size()) in setBuffer()
79 vertexAttribs[slot].set(buffer, offset, stride, num, format); in setBuffer()
80 vertexAttribs[slot].checkPadding16(); in setBuffer()
96 if (slot >= vertexAttribs.size()) in getBuffer()
98 return vertexAttribs[slot].getPtr(); in getBuffer()
116 if (slot >= vertexAttribs.size()) in updateBuffer()
118 vertexAttribs[slot].setModified(); in updateBuffer()
H A Dscene_line_segments.cpp33 vertexAttribs.resize(N); in setVertexAttributeCount()
73 if (slot >= vertexAttribs.size()) in setBuffer()
76 vertexAttribs[slot].set(buffer, offset, stride, num, format); in setBuffer()
77 vertexAttribs[slot].checkPadding16(); in setBuffer()
125 if (slot >= vertexAttribs.size()) in getBuffer()
127 return vertexAttribs[slot].getPtr(); in getBuffer()
164 if (slot >= vertexAttribs.size()) in updateBuffer()
166 vertexAttribs[slot].setModified(); in updateBuffer()
H A Dscene_subdiv_mesh.cpp59 if (vertexAttribID < vertexAttribs.size()){ in setVertexAttributeTopology()
82 vertexAttribs.resize(N); in setVertexAttributeCount()
123 if (slot >= vertexAttribs.size()) in setBuffer()
127 vertexAttribs[slot].checkPadding16(); in setBuffer()
219 if (slot >= vertexAttribs.size()) in getBuffer()
221 return vertexAttribs[slot].getPtr(); in getBuffer()
291 if (slot >= vertexAttribs.size()) in updateBuffer()
293 vertexAttribs[slot].setModified(); in updateBuffer()
713 for (size_t i=0; i<vertexAttribs.size(); i++) in initializeHalfEdgeStructures()
714 …if (vertexAttribs[i]) vertex_attrib_buffer_tags[i].resize(numFaces()*numInterpolationSlots4(vertex… in initializeHalfEdgeStructures()
[all …]
H A Dscene_curves.cpp46 vertexAttribs.resize(N); in setVertexAttributeCount()
114 if (slot >= vertexAttribs.size()) in setBuffer()
117 vertexAttribs[slot].set(buffer, offset, stride, num, format); in setBuffer()
118 vertexAttribs[slot].checkPadding16(); in setBuffer()
177 if (slot >= vertexAttribs.size()) in getBuffer()
179 return vertexAttribs[slot].getPtr(); in getBuffer()
228 if (slot >= vertexAttribs.size()) in updateBuffer()
230 vertexAttribs[slot].setModified(); in updateBuffer()
398 using CurveInterfaceT<Curve>::vertexAttribs;
H A Dscene_line_segments.h51 … (bufferType == RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE && bufferSlot <= vertexAttribs.size())); in interpolate_impl()
55 src = vertexAttribs[bufferSlot].getPtr(); in interpolate_impl()
56 stride = vertexAttribs[bufferSlot].getStride(); in interpolate_impl()
257 vector<BufferView<char>> vertexAttribs; //!< user buffers member
H A Dscene_triangle_mesh.h64 … (bufferType == RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE && bufferSlot <= vertexAttribs.size())); in interpolate_impl()
68 src = vertexAttribs[bufferSlot].getPtr(); in interpolate_impl()
69 stride = vertexAttribs[bufferSlot].getStride(); in interpolate_impl()
264 vector<RawBufferView> vertexAttribs; //!< vertex attributes member
H A Dscene_grid_mesh.h82 … (bufferType == RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE && bufferSlot <= vertexAttribs.size())); in interpolate_impl()
86 src = vertexAttribs[bufferSlot].getPtr(); in interpolate_impl()
87 stride = vertexAttribs[bufferSlot].getStride(); in interpolate_impl()
281 vector<RawBufferView> vertexAttribs; //!< vertex attributes member
H A Dscene_quad_mesh.h64 … (bufferType == RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE && bufferSlot <= vertexAttribs.size())); in interpolate_impl()
68 src = vertexAttribs[bufferSlot].getPtr(); in interpolate_impl()
69 stride = vertexAttribs[bufferSlot].getStride(); in interpolate_impl()
283 vector<BufferView<char>> vertexAttribs; //!< vertex attribute buffers member
/dports/x11-toolkits/qt5-quick3d/kde-qtquick3d-5.15.2p19/src/runtimerender/rendererimpl/
H A Dqssgrendererimpllayerrenderpreparationdata.cpp445 quint32 vertexAttribs = 0; in setVertexInputPresence() local
447 vertexAttribs |= QSSGShaderKeyVertexAttribute::Position; in setVertexInputPresence()
449 vertexAttribs |= QSSGShaderKeyVertexAttribute::Normal; in setVertexInputPresence()
455 vertexAttribs |= QSSGShaderKeyVertexAttribute::Tangent; in setVertexInputPresence()
457 vertexAttribs |= QSSGShaderKeyVertexAttribute::Binormal; in setVertexInputPresence()
459 vertexAttribs |= QSSGShaderKeyVertexAttribute::Color; in setVertexInputPresence()
493 quint32 vertexAttribs = 0; in prepareDefaultMaterialForRender() local
495 vertexAttribs |= QSSGShaderKeyVertexAttribute::Position; in prepareDefaultMaterialForRender()
497 vertexAttribs |= QSSGShaderKeyVertexAttribute::Normal; in prepareDefaultMaterialForRender()
503 vertexAttribs |= QSSGShaderKeyVertexAttribute::Tangent; in prepareDefaultMaterialForRender()
[all …]
/dports/games/iortcw/iortcw-1.51c/MP/code/rend2/
H A Dtr_surface.c366 if ( tess.shader->vertexAttribs & ATTR_POSITION ) in RB_SurfaceVertsAndIndexes()
374 if ( tess.shader->vertexAttribs & ATTR_NORMAL ) in RB_SurfaceVertsAndIndexes()
382 if ( tess.shader->vertexAttribs & ATTR_TANGENT ) in RB_SurfaceVertsAndIndexes()
390 if ( tess.shader->vertexAttribs & ATTR_TEXCOORD ) in RB_SurfaceVertsAndIndexes()
398 if ( tess.shader->vertexAttribs & ATTR_LIGHTCOORD ) in RB_SurfaceVertsAndIndexes()
406 if ( tess.shader->vertexAttribs & ATTR_COLOR ) in RB_SurfaceVertsAndIndexes()
1078 if ( tess.shader->vertexAttribs & ATTR_POSITION ) in RB_SurfaceGrid()
1084 if ( tess.shader->vertexAttribs & ATTR_NORMAL ) in RB_SurfaceGrid()
1090 if ( tess.shader->vertexAttribs & ATTR_TANGENT ) in RB_SurfaceGrid()
1096 if ( tess.shader->vertexAttribs & ATTR_TEXCOORD ) in RB_SurfaceGrid()
[all …]
H A Dtr_shade.c1128 unsigned int vertexAttribs = input->shader->vertexAttribs; in RB_CalcShaderVertexAttribs() local
1132 vertexAttribs |= ATTR_POSITION2; in RB_CalcShaderVertexAttribs()
1133 if (vertexAttribs & ATTR_NORMAL) in RB_CalcShaderVertexAttribs()
1135 vertexAttribs |= ATTR_NORMAL2; in RB_CalcShaderVertexAttribs()
1136 vertexAttribs |= ATTR_TANGENT2; in RB_CalcShaderVertexAttribs()
1140 return vertexAttribs; in RB_CalcShaderVertexAttribs()
1758 unsigned int vertexAttribs = 0; in RB_StageIteratorGeneric() local
1772 vertexAttribs = RB_CalcShaderVertexAttribs( input ); in RB_StageIteratorGeneric()
1776 RB_UpdateTessVao(vertexAttribs); in RB_StageIteratorGeneric()
H A Dtr_shader.c2133 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2138 shader.vertexAttribs |= ATTR_TEXCOORD; in ComputeVertexAttribs()
2168 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2192 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2196 shader.vertexAttribs |= ATTR_TANGENT; in ComputeVertexAttribs()
2220 shader.vertexAttribs |= ATTR_TEXCOORD; in ComputeVertexAttribs()
2226 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2241 shader.vertexAttribs |= ATTR_COLOR; in ComputeVertexAttribs()
2245 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2255 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
[all …]
/dports/games/iortcw/iortcw-1.51c/SP/code/rend2/
H A Dtr_surface.c366 if ( tess.shader->vertexAttribs & ATTR_POSITION ) in RB_SurfaceVertsAndIndexes()
374 if ( tess.shader->vertexAttribs & ATTR_NORMAL ) in RB_SurfaceVertsAndIndexes()
382 if ( tess.shader->vertexAttribs & ATTR_TANGENT ) in RB_SurfaceVertsAndIndexes()
390 if ( tess.shader->vertexAttribs & ATTR_TEXCOORD ) in RB_SurfaceVertsAndIndexes()
398 if ( tess.shader->vertexAttribs & ATTR_LIGHTCOORD ) in RB_SurfaceVertsAndIndexes()
406 if ( tess.shader->vertexAttribs & ATTR_COLOR ) in RB_SurfaceVertsAndIndexes()
1076 if ( tess.shader->vertexAttribs & ATTR_POSITION ) in RB_SurfaceGrid()
1082 if ( tess.shader->vertexAttribs & ATTR_NORMAL ) in RB_SurfaceGrid()
1088 if ( tess.shader->vertexAttribs & ATTR_TANGENT ) in RB_SurfaceGrid()
1094 if ( tess.shader->vertexAttribs & ATTR_TEXCOORD ) in RB_SurfaceGrid()
[all …]
H A Dtr_shade.c1122 unsigned int vertexAttribs = input->shader->vertexAttribs; in RB_CalcShaderVertexAttribs() local
1126 vertexAttribs |= ATTR_POSITION2; in RB_CalcShaderVertexAttribs()
1127 if (vertexAttribs & ATTR_NORMAL) in RB_CalcShaderVertexAttribs()
1129 vertexAttribs |= ATTR_NORMAL2; in RB_CalcShaderVertexAttribs()
1130 vertexAttribs |= ATTR_TANGENT2; in RB_CalcShaderVertexAttribs()
1134 return vertexAttribs; in RB_CalcShaderVertexAttribs()
1753 unsigned int vertexAttribs = 0; in RB_StageIteratorGeneric() local
1767 vertexAttribs = RB_CalcShaderVertexAttribs( input ); in RB_StageIteratorGeneric()
1771 RB_UpdateTessVao(vertexAttribs); in RB_StageIteratorGeneric()
H A Dtr_shader.c2161 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2166 shader.vertexAttribs |= ATTR_TEXCOORD; in ComputeVertexAttribs()
2196 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2220 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2224 shader.vertexAttribs |= ATTR_TANGENT; in ComputeVertexAttribs()
2248 shader.vertexAttribs |= ATTR_TEXCOORD; in ComputeVertexAttribs()
2254 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2269 shader.vertexAttribs |= ATTR_COLOR; in ComputeVertexAttribs()
2273 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
2283 shader.vertexAttribs |= ATTR_NORMAL; in ComputeVertexAttribs()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/framework/referencerenderer/
H A DrrRenderer.hpp117 , vertexAttribs (vertexAttribs_) in DrawCommand()
127 const VertexAttrib* const vertexAttribs; member in rr::DrawCommand
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/glshared/
H A DglsTextureBufferCase.cpp680 rr::VertexAttrib vertexAttribs[1]; in renderReference() local
685 vertexAttribs[0].type = rr::VERTEXATTRIBTYPE_NONPURE_UNORM8; in renderReference()
686 vertexAttribs[0].size = 2; in renderReference()
687 vertexAttribs[0].pointer = texture.getRefBuffer().getPtr(); in renderReference()
695 vertexAttribs[0].type = rr::VERTEXATTRIBTYPE_NONPURE_UNORM8; in renderReference()
696 vertexAttribs[0].size = 2; in renderReference()
697 vertexAttribs[0].pointer = &(coords[0]); in renderReference()
703 const rr::DrawCommand cmd(renderState, renderTarget, program, 1, vertexAttribs, primitives); in renderReference()
710 const rr::DrawCommand cmd(renderState, renderTarget, program, 1, vertexAttribs, primitives); in renderReference()
/dports/games/OpenLara/OpenLara-b4b19f2/src/gapi/
H A Dc3d.h764 C3D_AttrInfo vertexAttribs; variable
844 AttrInfo_Init(&vertexAttribs); in init()
845 AttrInfo_AddLoader(&vertexAttribs, aCoord , GPU_SHORT , 4); in init()
846 AttrInfo_AddLoader(&vertexAttribs, aNormal , GPU_UNSIGNED_BYTE , 4); in init()
847 AttrInfo_AddLoader(&vertexAttribs, aTexCoord , GPU_SHORT , 4); in init()
848 AttrInfo_AddLoader(&vertexAttribs, aColor , GPU_UNSIGNED_BYTE , 4); in init()
849 AttrInfo_AddLoader(&vertexAttribs, aLight , GPU_UNSIGNED_BYTE , 4); in init()
924 C3D_SetAttrInfo(&vertexAttribs); in resetState()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemUtils.hpp146 const VertexAttribs& vertexAttribs,
157 const VertexAttribs& vertexAttribs,
/dports/devel/simgear/simgear-2020.3.11/simgear/io/
H A Dsg_binobj.hxx194 group_vai_list& vertexAttribs,
204 const group_vai_list& vertexAttribs,
H A Dsg_binobj.cxx398 group_vai_list& vertexAttribs, in read_object() argument
487 vertexAttribs.push_back( vas ); in read_object()
838 const group_vai_list& vertexAttribs, in write_objects() argument
859 unsigned int va_count = vertexAttribs.size(); in write_objects()
861 if ( !vertexAttribs[va].empty() && !vertexAttribs[va].front().empty() ) { in write_objects()
916 const vai_list& vaa( vertexAttribs[i] ); in write_objects()

1234