Home
last modified time | relevance | path

Searched refs:maxPointSize (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DPointSpritesTest.cpp51 GLfloat maxPointSize = pointSizeRange[1]; in testPointCoordAndPointSizeCompliance() local
53 ASSERT_TRUE(maxPointSize >= 1); in testPointCoordAndPointSizeCompliance()
54 maxPointSize = floorf(maxPointSize); in testPointCoordAndPointSizeCompliance()
55 ASSERT_TRUE((int)maxPointSize % 1 == 0); in testPointCoordAndPointSizeCompliance()
57 maxPointSize = std::min(maxPointSize, 64.0f); in testPointCoordAndPointSizeCompliance()
58 GLfloat pointWidth = maxPointSize / windowWidth; in testPointCoordAndPointSizeCompliance()
59 GLint step = static_cast<GLint>(floorf(maxPointSize / 4)); in testPointCoordAndPointSizeCompliance()
65 glUniform1f(pointSizeLoc, maxPointSize); in testPointCoordAndPointSizeCompliance()
68 GLfloat pixelOffset = ((int)maxPointSize % 2) ? (1.0f / (GLfloat)windowWidth) : 0; in testPointCoordAndPointSizeCompliance()
95 for (int yy = 0; yy < maxPointSize; yy += pointStep) in testPointCoordAndPointSizeCompliance()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DClampPointSize.cpp22 float maxPointSize, in ClampPointSize() argument
35 maxPointSizeConstant->setFConst(maxPointSize); in ClampPointSize()
DClampPointSize.h23 float maxPointSize,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_screen.c176 return svgascreen->maxPointSize; in svga_get_paramf()
1209 svgascreen->maxPointSize = 80.0F; in svga_screen_create()
1272 svgascreen->maxPointSize = in svga_screen_create()
1275 svgascreen->maxPointSize = MIN2(svgascreen->maxPointSize, 80.0f); in svga_screen_create()
1315 debug_printf("svga: maxPointSize %g\n", svgascreen->maxPointSize); in svga_screen_create()
Dsvga_screen.h55 float maxPointSize; member
Dsvga_state_rss.c244 EMIT_RS_FLOAT(svga, screen->maxPointSize, POINTSIZEMAX); in emit_rss_vgpu9()
Dsvga_state_constants.c206 dst[3] = screen->maxPointSize; in svga_get_pt_sprite_constants()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPointSizeTests.cpp70 …uirements (const InstanceInterface& vki, const VkPhysicalDevice physDevice, const int maxPointSize) in checkPointSizeRequirements() argument
73 if (maxPointSize > static_cast<int>(properties.limits.pointSizeRange[1])) in checkPointSizeRequirements()
74 throw tcu::NotSupportedError("Test requires point size " + de::toString(maxPointSize)); in checkPointSizeRequirements()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp166 const float maxPointSize = 32.0f; in drawRandomPrimitives() local
183 …const float pointSize = isWidePoint ? de::min(rnd->getFloat(minPointSize, maxPointSize), range.y… in drawRandomPrimitives()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp2026 const float maxPointSize = limits.pointSizeRange[1]; in iterate() local
2027 …const int pointSizeDeltaMultiples = de::max(1, deCeilFloatToInt32((maxPointSize - minPointSiz… in iterate()
2029 TCU_CHECK(minPointSize <= maxPointSize); in iterate()
2035 …coord->z() = de::min(maxPointSize, minPointSize + float(rnd.getInt(0, pointSizeDeltaMultiples)) * … in iterate()