/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 746 float sx0 = x0 * (float)width; in computeVertexReference() local 750 float oosx = 1.0f / (sx1 - sx0); in computeVertexReference() 753 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() 767 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); in computeVertexReference() 777 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 674 float sx0 = x0 * (float)width; in computeVertexReference() local 678 float oosx = 1.0f / (sx1 - sx0); in computeVertexReference() 681 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() 695 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); in computeVertexReference() 705 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference()
|
H A D | glsBufferTestUtil.cpp | 483 float sx0 = (float)(x+0) / (float)gridSizeX; in computePositions() local 487 float fx0 = 2.0f * sx0 - 1.0f; in computePositions()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrRasterizer.cpp | 557 const deInt64 sx0 = toSubpixelCoord(x0, m_subpixelBits) + halfPixel; in rasterizeSingleSample() local 562 const deInt64 sx[4] = { sx0, sx1, sx0, sx1 }; in rasterizeSingleSample() 728 const deInt64 sx0 = toSubpixelCoord(x0, m_subpixelBits); 733 const deInt64 sx[4] = { sx0, sx1, sx0, sx1 };
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorTests.cpp | 278 const int sx0 = scissorRect.x(); in applyScissor() local 287 if (x < sx0 || x >= sx1 || y < sy0 || y >= sy1) in applyScissor()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorTests.cpp | 278 const int sx0 = scissorRect.x(); in applyScissor() local 287 if (x < sx0 || x >= sx1 || y < sy0 || y >= sy1) in applyScissor()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 322 float sx0 = (float)(x+0) / (float)gridSizeX; in computePositions() local 326 float fx0 = 2.0f * sx0 - 1.0f; in computePositions()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2426 const float sx0 = x0 * (float)width; 2430 const float oosx = 1.0f / (sx1 - sx0); 2433 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); 2447 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); 2457 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2428 const float sx0 = x0 * (float)width; 2432 const float oosx = 1.0f / (sx1 - sx0); 2435 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); 2449 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); 2459 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f);
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 3380 GrGLfloat sx0 = (GrGLfloat)srcRect.fLeft; in copySurfaceAsDraw() local 3388 sx0 /= sw; in copySurfaceAsDraw() 3395 sx1 - sx0, sy1 - sy0, sx0, sy0)); in copySurfaceAsDraw()
|