Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
21164 Discussions

Opengl glsl problem

nettory
Beginner
1,017 Views

Hello. I have a problem using the gl_SampleID variable in a shader on an Intel Iris XE Graphics on opengl app.

Application hangs, in some cases with windows. There are no problems on the video card of another manufacturer

 

Driver version 31.0.101.3413.

OS Windows 11 Home Single Language build 22621.521

small example:

void main()
{
int num= gl_SampleID;

if(num==0)
FragColor=curvatureResult();
else if(num==1)
FragColor=vec4(0.5,0,0,1);
else if(num==2)
FragColor=vec4(0,0.5,0,1);
else if(num==3)
FragColor=vec4(0,0,0.1,1);

else
FragColor=vec4(0,0,0,1);
}

0 Kudos
4 Replies
DeividA_Intel
Employee
980 Views

Hello nettory,  


  

Thank you for posting on the Intel® communities. I am sorry to know that you are having issues with the Intel® Iris® Xe Graphics.


  

In order to better assist you, please provide the following:  


1. Did you develop the app that you are using?

2. Are you getting an error? If so, can you take a picture?

3. Does this issue happens on the non-insider version of Windows?

4. Are you using a laptop or desktop computer?

5. What is the brand and model name of your laptop or motherboard (if is a desktop computer)?



Regards,  

Deivid A.  

Intel Customer Support Technician 


0 Kudos
nettory
Beginner
967 Views

Thanks for trying to help.

1. I am one of the app developers.

2. No error messages unfortunately.

3. Yes, I used the non-insider version of Windows.

4. I tested both on a laptop and on a desktop computer.

5. Laptop Asus X515EP-BQ123T (i7-1165G7), desktop Asus TUF GAMING  B560M-PLUS (I7 11700K).

0 Kudos
DeividA_Intel
Employee
953 Views

Hello nettory, 


  

Thank you for the information provided 


  

I will proceed to check the issue internally and post back soon with more details. 


 

Best regards, 

Deivid A.  

Intel Customer Support Technician 


0 Kudos
DeividA_Intel
Employee
945 Views

Hello nettory,



In order to investigate this further, I will send you an e-mail to the e-mail address associated with your community profile requesting some information that could be confidential, and to avoid sharing sensitive information on the thread I will request it via email.



Regards,  

Deivid A.  

Intel Customer Support Technician


0 Kudos
Reply