Skip to content

Snap Quad lines to the pixel grid in iced_wgpu#2531

Merged
hecrj merged 1 commit into
masterfrom
fix/snap-quad-lines-in-wgpu
Jul 29, 2024
Merged

Snap Quad lines to the pixel grid in iced_wgpu#2531
hecrj merged 1 commit into
masterfrom
fix/snap-quad-lines-in-wgpu

Conversation

@hecrj

@hecrj hecrj commented Jul 29, 2024

Copy link
Copy Markdown
Member

This should ensure the Quad primitives representing lines (1px thick) are always aligned to the pixel grid.

May introduce other artifacts, however.

@hecrj hecrj added bug Something isn't working widget rendering fix labels Jul 29, 2024
@hecrj hecrj added this to the 0.13 milestone Jul 29, 2024
Comment thread wgpu/src/shader/quad/solid.wgsl
@hecrj hecrj merged commit ddd48ca into master Jul 29, 2024
@hecrj hecrj deleted the fix/snap-quad-lines-in-wgpu branch July 29, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix rendering widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants