Skip to content

Add pixel shader discard test#1119

Open
EmilioLaiso wants to merge 1 commit intollvm:mainfrom
Traverse-Research:pixel-discard-test
Open

Add pixel shader discard test#1119
EmilioLaiso wants to merge 1 commit intollvm:mainfrom
Traverse-Research:pixel-discard-test

Conversation

@EmilioLaiso
Copy link
Copy Markdown
Contributor

@EmilioLaiso EmilioLaiso commented Apr 24, 2026

Introduce new test that verifies the discard keyword behaves as expected.
The test renders a full screen quad and discards all pixels left half of the render target.
It verifies if the the correct pixels got discarded by using the clear color (black) and geometry color (red).

The test currently fails on clang as it does not yet support the discard keyword.

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.

4 participants