-
Notifications
You must be signed in to change notification settings - Fork 119
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
Rendering Error with RDNA2 #36
Comments
Azralee
pushed a commit
to Azralee/RayTracingInVulkan
that referenced
this issue
Feb 28, 2021
This proposed change fixes GPSnoopy#36 without any visual impact.
Azralee
pushed a commit
to Azralee/RayTracingInVulkan
that referenced
this issue
Mar 1, 2021
This change fixes GPSnoopy#36 without any visual impact. The problem resulted from non-specified nonuniform texture indices. As the compiler is allowed to assume uniformity in certain variables, unless specified, this was a bug. https://github.com/KhronosGroup/GLSL/blob/master/extensions/ext/GL_EXT_nonuniform_qualifier.txt
GPSnoopy
pushed a commit
that referenced
this issue
Mar 28, 2021
* Update scatter.glsl to fix texture issues on RDNA2 This change fixes #36 without any visual impact. The problem resulted from non-specified nonuniform texture indices. As the compiler is allowed to assume uniformity in certain variables, unless specified, this was a bug. https://github.com/KhronosGroup/GLSL/blob/master/extensions/ext/GL_EXT_nonuniform_qualifier.txt * Update Scatter.glsl to include extensions * Remove extraneous #version * Update Scatter.glsl to fix a corner case
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed a weird rendering error in scene 2:
Swapping the material of the affected sphere out to
Material::Lambertian(vec3(1.0f),1)
resolves the issue:Switching the center Spere to
Material::Metallic(vec3(1.0f), 0.0f)
causes the issue to also affect this sphere:This is on an RX 6800 on the 21.2.2 driver.
The text was updated successfully, but these errors were encountered: