Page MenuHome

Add workaround for broken interface query functions on Intel HD Graphics 4400 and 4600
ClosedPublic

Authored by Jake (Welp) on Jan 12 2022, 1:03 AM.

Details

Summary

Fixes T93680

For current drivers of Intel HD Graphics 4400 and 4600, various Program Introspection functions appear broken and return incorrect values, causing crashes in the current handling of SSBOs. Disable use of this feature on those devices. Add checks to features that use SSBOs (Hair and Subdivision Modifier).

Diff Detail

Repository
rB Blender

Event Timeline

Jake (Welp) requested review of this revision.Jan 12 2022, 1:03 AM
Jake (Welp) created this revision.

Thanks! Note that this workaround should be fixed after D13360 is merged to master since we won't rely on the driver shader introspection anymore.

This revision is now accepted and ready to land.Jan 12 2022, 9:39 AM

Got it, I'll keep an eye on it.

Thanks! Note that this workaround should be fixed after D13360 is merged to master since we won't rely on the driver shader introspection anymore.

Looks like it's still crashing in the same place on the current master.

Thanks! Note that this workaround should be fixed after D13360 is merged to master since we won't rely on the driver shader introspection anymore.

Looks like it's still crashing in the same place on the current master.

Well the issue is that the initial patch only does the shader create info (which bypass introspection) for the "builtin" shaders. Other shaders should follow afterwards. But knowing this issue, I will push for the compute shader to be done first.