System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 520 Intel 4.5.0 - Build 27.20.100.8681
Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: rBc77597cd0e15
Worked: (newest version of Blender that worked as expected)
Short description of error
weird looking materials observed when few nodes used.
Exact steps for others to reproduce the error
Go to the blend file. add a AO node. connect it with a shader to rgb.
add a mix rgb and connect a diffuse with fac using a shader to rgb.
Thanks for checking!
