Skip to content

ExecutionTest Programmable Sample Offsets #4285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 26, 2022

Conversation

pow2clk
Copy link
Member

@pow2clk pow2clk commented Feb 22, 2022

A texture containing an encoded value representing the X,Y location is
used to retrieve values at various samples using the 8 methods that
newly allow programmable values. Each result is compared to what is
expected based on the given coords and offsets.

A texture containing an encoded value representing the X,Y location is
used to retrieve values at various samples using the 8 methods that
newly allow programmable values. Each result is compared to what is
expected based on the given coords and offsets.
@pow2clk pow2clk requested review from tex3d and llvm-beanz February 22, 2022 16:41
@AppVeyorBot
Copy link

PS shaders weren't running and had some bugs

removed code belonging to a different commit

better ifdef shader model version

better document magic numbers
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

Tex added a bunch of version and optional support variants

This corrects the mesh shaders that were indexing incorrectly and also
had too few threads to properly set up the triangles

Probably a few other things I've left out :p
Copy link
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now!

if (!CreateDevice(&pDevice, sm, /*skipUnsupported*/false)) {
LogCommentFmt(L"Device does not support shader model 6.%1u",
((UINT)sm & 0x0f));
continue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, should have made this break; instead of continue; so it doesn't keep trying higher shader models.

if it doesn't have 6.x, it's not going to have 6.y
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@pow2clk pow2clk merged commit c44a4a9 into microsoft:master Feb 26, 2022
@pow2clk pow2clk deleted the hlk_progoffset branch February 26, 2022 04:00
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