Home
last modified time | relevance | path

Searched refs:numTriangles (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/tint/test/bug/tint/
D1113.wgsl.expected.glsl6 uint numTriangles;
63 uint g42 = uniforms.numTriangles;
77 if ((triangleIndex >= uniforms.numTriangles)) {
123 uint numTriangles;
158 uint g42 = uniforms.numTriangles;
180 uint numTriangles = atomicOr(counters.values[voxelIndex], 0u);
182 if ((numTriangles > 0u)) {
183 offset = int(atomicAdd(dbg.offsetCounter, numTriangles));
209 uint numTriangles;
266 uint g42 = uniforms.numTriangles;
[all …]
D1113.wgsl.expected.wgsl3 numTriangles : u32;
94 var g42 = uniforms.numTriangles;
105 if ((triangleIndex >= uniforms.numTriangles)) {
135 var numTriangles = atomicLoad(&(counters.values[voxelIndex]));
137 if ((numTriangles > 0u)) {
138 offset = i32(atomicAdd(&(dbg.offsetCounter), numTriangles));
147 if ((triangleIndex >= uniforms.numTriangles)) {
D1113.wgsl3 numTriangles : u32;
89 var g42 = uniforms.numTriangles;
103 if(triangleIndex >= uniforms.numTriangles){
147 var numTriangles = atomicLoad(&counters.values[voxelIndex]);
150 if(numTriangles > 0u){
151 offset = i32(atomicAdd(&dbg.offsetCounter, numTriangles));
165 if(triangleIndex >= uniforms.numTriangles){
D1113.wgsl.expected.msl16 /* 0x0000 */ uint numTriangles;
85 uint g42 = (*(tint_symbol_2)).numTriangles;
95 if ((triangleIndex >= (*(tint_symbol_8)).numTriangles)) {
129 …uint numTriangles = atomic_load_explicit(&((*(tint_symbol_22)).values[voxelIndex]), memory_order_r…
131 if ((numTriangles > 0u)) {
132 …offset = int(atomic_fetch_add_explicit(&((*(tint_symbol_21)).offsetCounter), numTriangles, memory_…
145 if ((triangleIndex >= (*(tint_symbol_32)).numTriangles)) {
D1113.wgsl.expected.hlsl122 uint numTriangles = atomicLoad_1(counters, (4u * voxelIndex));
124 if ((numTriangles > 0u)) {
125 offset = int(atomicAdd_1(dbg, 0u, numTriangles));
D1113.wgsl.expected.spvasm19 OpMemberName %Uniforms 0 "numTriangles"
100 OpName %numTriangles "numTriangles"
513 %numTriangles = OpVariable %_ptr_Function_uint Function %141
538 OpStore %numTriangles %312
540 %319 = OpLoad %uint %numTriangles
546 %327 = OpLoad %uint %numTriangles
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp206 const int numTriangles = 72; in init() local
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()
212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()
237 m_verticesInPattern = numTriangles * 3; in init()
Des2fMultisampleTests.cpp511 const int numTriangles = 25; in renderPattern() local
512 for (int i = 0; i < numTriangles; i++) in renderPattern()
514 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
515 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
990 const int numTriangles = 25; in iterate() local
991 for (int i = 0; i < numTriangles; i++) in iterate()
993 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
994 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in iterate()
1404 const int numTriangles = 25; in drawPattern() local
1405 for (int i = 0; i < numTriangles; i++) in drawPattern()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderInvarianceTests.cpp206 const int numTriangles = 72; in init() local
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()
212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()
237 m_verticesInPattern = numTriangles * 3; in init()
Des3fMultisampleTests.cpp679 const int numTriangles = 25; in renderPattern() local
680 for (int i = 0; i < numTriangles; i++) in renderPattern()
682 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
683 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
1149 const int numTriangles = 25; in iterate() local
1150 for (int i = 0; i < numTriangles; i++) in iterate()
1152 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
1153 float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles; in iterate()
1554 const int numTriangles = 25; in drawPattern() local
1555 for (int i = 0; i < numTriangles; i++) in drawPattern()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderInvarianceTests.cpp172 const int numTriangles = 72; in iterate() local
174 std::vector<tcu::Vec4> vertices (numTriangles * 3 * 2); in iterate()
178 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in iterate()
190 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in iterate()
192 vertices[(numTriangles + triNdx) * 3 + 0] = genRandomVector(rnd); in iterate()
193 vertices[(numTriangles + triNdx) * 3 + 1] = genRandomVector(rnd); in iterate()
194 vertices[(numTriangles + triNdx) * 3 + 2] = genRandomVector(rnd); in iterate()
DvktShaderRender.hpp519 deUint32 numTriangles,
DvktShaderRenderDerivateTests.cpp678 const deUint32 numTriangles = 2; in iterate() local
710 render(numVertices, numTriangles, indices); in iterate()
DvktShaderRender.cpp1795 deUint32 numTriangles, in render() argument
1799 render(numVertices, numTriangles * 3, indices, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, constCoords); in render()
DvktShaderRenderTextureGatherTests.cpp1368 const deUint32 numTriangles = 2; in iterate() local
1392 render(numVertices, numTriangles, indices); in iterate()
/third_party/skia/third_party/externals/tint/test/bug/chromium/
D1273230.wgsl16 numTriangles : u32;
107 var g43 = uniforms.numTriangles;
118 if ((triangleIndex >= uniforms.numTriangles)) {
D1273230.wgsl.expected.wgsl34 numTriangles : u32;
125 var g43 = uniforms.numTriangles;
136 if ((triangleIndex >= uniforms.numTriangles)) {
D1273230.wgsl.expected.msl36 /* 0x0000 */ uint numTriangles;
113 uint g43 = (*(tint_symbol_2)).numTriangles;
123 if ((triangleIndex >= (*(tint_symbol_8)).numTriangles)) {
D1273230.wgsl.expected.spvasm33 OpMemberName %Uniforms 0 "numTriangles"
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp117 GLsizei numTriangles = (numIndices - 2); in copyIndices() local
118 for(GLsizei tri = 0; tri < numTriangles; ++tri) in copyIndices()
132 GLsizei numTriangles = (numIndices - 2); in copyIndices() local
133 for(GLsizei tri = 0; tri < numTriangles; ++tri) in copyIndices()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fMultisampleTests.cpp491 const int numTriangles = 25; in drawPattern() local
494 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in drawPattern()
496 const float angle0 = 2.0f*DE_PI * (float)triNdx / (float)numTriangles; in drawPattern()
497 const float angle1 = 2.0f*DE_PI * ((float)triNdx + 0.5f) / (float)numTriangles; in drawPattern()
498 const Vec4 color = Vec4(0.4f + (float)triNdx/(float)numTriangles*0.6f, in drawPattern()
499 0.5f + (float)triNdx/(float)numTriangles*0.3f, in drawPattern()
500 0.6f - (float)triNdx/(float)numTriangles*0.5f, in drawPattern()
501 0.7f - (float)triNdx/(float)numTriangles*0.7f); in drawPattern()
Des31fShaderMultisampleInterpolationTests.cpp794 const int numTriangles = 200; in setupRenderData() local
796 std::vector<tcu::Vec4> data (numTriangles * 3 * 3); in setupRenderData()
799 m_renderCount = numTriangles * 3; in setupRenderData()
809 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData()
811 const float angle = ((float)triangleNdx) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
812 const float nextAngle = ((float)triangleNdx + 1.0f) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtessellator.cpp859 int numTriangles = numPointsForInsideEdge[parity] + numPointsForOutsideEdge[edge] - 2; in QuadGenerateConnectivity() local
926 m_NumIndices += numTriangles*3; in QuadGenerateConnectivity()
1341 int numTriangles = numPointsForInsideEdge + numPointsForOutsideEdge[edge] - 2; in TriGenerateConnectivity() local
1382 m_NumIndices += numTriangles*3; in TriGenerateConnectivity()
/third_party/mesa3d/src/gallium/auxiliary/tessellator/
Dtessellator.cpp877 int numTriangles = numPointsForInsideEdge[parity] + numPointsForOutsideEdge[edge] - 2; in QuadGenerateConnectivity() local
944 m_NumIndices += numTriangles*3; in QuadGenerateConnectivity()
1359 int numTriangles = numPointsForInsideEdge + numPointsForOutsideEdge[edge] - 2; in TriGenerateConnectivity() local
1400 m_NumIndices += numTriangles*3; in TriGenerateConnectivity()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationInvarianceTests.cpp1175 const int numTriangles = aOrB == 0 ? numTrianglesA : numTrianglesB; in compareTriangleSets() local
1178 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in compareTriangleSets()

12