Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,064
    • Issues 3,064
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,002
    • Merge requests 1,002
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Issues
  • #1822
Closed
Open
Issue created Sep 25, 2019 by Bugzilla Migration User@bugzilla-migration

[WebGL Conformance] clipping work incorrectly on y-axis

Submitted by xinghua

Assigned to Intel 3D Bugs Mailing List

Link to original bug (#111247)

Description

The issue exists on mesa master, and is a regression on mesa, it does not exist on mesa-19.1.2. Steps:

  1. Use mesa master libraries.
  2. Download latest chrome, and open https://www.khronos.org/registry/webgl/sdk/tests/deqp/functional/gles3/clipping.html?webglVersion=2&quiet=0&quick=1
  3. One case fail.

Case details:

  1. Drawing window size (128, 128), set viewport (38, 25, 76, 64), viewport size(76, 64)
  2. Draw lines(line_width = 5)
  3. On x-axis, lines, {(-1+1/76, -0.17218), (1+1/76, -0.17218)} // This line width is 76 {(-1-1/76, 0.2028), (1-1/76, 0.2028)} // This line width is 75, one lack at the line end. {(-1+1/76, 0.5153), (1-1/76, 0.5153)} // This line width is 75, one lack at the line end. The behaviors are the same on mesa and reference.
  4. on y-axis, lines, {(-0.1976, -1+1/64), (-0.1976, 1+1/64)} // On mesa line height is 63, one lack at the line begin; but line height is 64 on reference. {(0.2234, -1-1/64), (0.2234, 1-1/64)} // On mesa line height is 64; but line height is 63 on reference, one lack at the line end. {(0.5128, -1+1/64),(0.5128, 1-1/64)} // line heights are all 63, but one lack is at the line begin on mesa, and the other is at the line end on reference. The x-axis and y-axis behaviors are different on mesa.

Version: git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking