Closed yetyman closed 1 year ago
Have you tried to use this code separately in default lwjgl with glfw?
I have not. But I was able to figure out through trial and error that the Iris Xe chip is failing to support the Mat4[] parameters of my shader. It compiles, but the access violation is thrown inside the intel driver during the linkProgram call. if i replace the mat4[] uniform with individual mat4 uniforms the access violation no longer occurs. Strange stuff.
Hello,
This is likely not an issue with your library, I would like to bring it to your attention on the off chance you might see something that I do not as I am fairly new to graphics programming.
When I set NVidia Control Panel to give my application the embedded graphics chip(Intel Iris Xe) on my laptop instead of its bigger embedded GPU(RTX 3050 laptop) I start getting issues. I recognize that this is a hardware issue however nothing I look up indicates any lack of support on the Intel Iris Xe and glView is indicating full support for everything.
for reference here's the simplified set of code in init() that leads the an Access_Violation_Exception everytime with the Intel Iris Xe but runs well with the 3050. Its a pretty basic shader program, I'm not aware of anything here being particularly advanced.
The Access Violation occurs within
org.lwjgl.opengl.GL20C.glLinkProgram(I)V+0
as you can see from this dumpif it is relevant, here are my shaders though I don't think I'm doing anything interesting here.