forked from GPSnoopy/RayTracingInVulkan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scatter.glsl to fix texture issues on RDNA2
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
- Loading branch information
PMunkes
authored and
Philipp
committed
Mar 1, 2021
1 parent
8e88678
commit 3c35f43
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters