Skip to content

fix gles border on nvidia proprietary driver by forcing high prec#177

Open
apewo wants to merge 1 commit intowlrfx:mainfrom
apewo:fix_nvidia_gles2
Open

fix gles border on nvidia proprietary driver by forcing high prec#177
apewo wants to merge 1 commit intowlrfx:mainfrom
apewo:fix_nvidia_gles2

Conversation

@apewo
Copy link
Copy Markdown

@apewo apewo commented Mar 11, 2026

On nvidia proprietary driver, the border are badly rendered due to medium precision float,

however, forcing high precision float in the fragment shaders and setting the EGL_CONTEXT_CLIENT_VERSION to 3 seems to render the border normally ( tested on : NVIDIA GeForce RTX 2080 / Driver Version: 590.48.01).

To not break compatibility with other gpu, this commit add an option : force_fragment_shader_precision_high , so the default build remain unchanged.

to test : meson setup -Dscenefx:force_fragment_shader_precision_high=true ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant