-
Notifications
You must be signed in to change notification settings - Fork 769
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
Conversation
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.
✅ Build DirectXShaderCompiler 1.0.1274 completed (commit 8e37f89a63 by @pow2clk) |
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
✅ Build DirectXShaderCompiler 1.0.1303 completed (commit f536f818ec by @pow2clk) |
✅ Build DirectXShaderCompiler 1.0.1304 completed (commit 92584bd23f by @pow2clk) |
✅ Build DirectXShaderCompiler 1.0.1308 completed (commit 25315aeaaa by @pow2clk) |
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
There was a problem hiding this 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; |
There was a problem hiding this comment.
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
✅ Build DirectXShaderCompiler 1.0.1312 completed (commit 82b7488bde by @pow2clk) |
✅ Build DirectXShaderCompiler 1.0.1313 completed (commit 44d216385a by @pow2clk) |
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.