You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is some kind of odd behavior from the AMD Windows graphics driver. (Not the first time...)
Devices with this behavior reported:
AMD Radeon RX 6700 XT
Other unspecified RDNA2 card
Devices that do not exhibit this:
Steam Deck (LCD), RDNA2, using the Valve-provided Aerith driver
AMD Radeon RX 580, pre-RDNA
I believe the magenta has to come from this line in the fragment shader. Somehow the type variable is not being read as a valid number 1 through 4.
ChatGPT and Claude suggested possible issues:
Uniform Data Alignment:
AMD GPUs can be more sensitive to data alignment issues in uniform blocks. The ImageOrColor struct contains mixed types (uint, vec4, and sampler2D), which might cause alignment problems.
Uniform Buffer Object (UBO) vs. Individual Uniforms:
If you're using a UBO for the Material struct, ensure that the std140 or std430 layout is correctly implemented and that the offsets are properly calculated.
The text was updated successfully, but these errors were encountered:
This is some kind of odd behavior from the AMD Windows graphics driver. (Not the first time...)
Devices with this behavior reported:
Devices that do not exhibit this:
I believe the magenta has to come from this line in the fragment shader. Somehow the
type
variable is not being read as a valid number 1 through 4.ChatGPT and Claude suggested possible issues:
The text was updated successfully, but these errors were encountered: