Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
Ankündigungen
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
550 Diskussionen

Replacing expression e with (false ? ... : e) causes dramatic change in rendering

Alastair_D_1
Einsteiger
3.207Aufrufe

I have a fragment shader for which changing:

            color = vec3(1.0, 0.1, 0.1) * diffuse;

to:

            color = vec3(1.0, 0.1, 0.1) * (false ? mix(targetDepth, time, false) : diffuse);

causes a dramatic change in what is rendered.  However, I would have expected this change to have no effect since (false ? ... : diffuse) should evaluate to diffuse.

To reproduce the issue, rename geexlab.txt (attached) to geexlab.xml and load it in GeeXLab.  The file as is should render something similar to good.png (attached).  This is the expected behaviour of the shader, which originates from here:

http://glslsandbox.com/e#29059

Changing line 99 of geexlab.xml to line 101 should render something similar to bad.png (attached), which is dramatically different.

I am using Iris Graphics 6100, driver version 20.19.15.4352, under Windows 10.

Are others able to reproduce this issue?

Thanks

Ally

 

 

 

0 Kudos
8 Antworten
Michael_C_Intel2
Mitarbeiter
3.207Aufrufe

Hi Alastair,

I got the ticket filed and let the team know.

-Michael 

Michael_C_Intel2
Mitarbeiter
3.207Aufrufe

Hi Alastair,

This issue is fixed and should be available in the next driver release.

-Michael 

Alastair_D_1
Einsteiger
3.207Aufrufe

Great stuff, thanks Michael.

Ally

Stefan3D
Geehrter Beitragender II
3.207Aufrufe

Michael C. (Intel) wrote:

This issue is fixed and should be available in the next driver release.

Driver v4463 is out.

Looks like you forgot to commit the fixes to the Broadwell branch?

Michael_C_Intel2
Mitarbeiter
3.207Aufrufe

4463 was released 4/29 before we had a fix for this issue. 

Stefan3D
Geehrter Beitragender II
3.207Aufrufe

Re-checked with v4474, issue persists

Islam_A_
Einsteiger
3.207Aufrufe

Hello Michael,,

this is great stuff...thanks Michael.

Stefan3D
Geehrter Beitragender II
3.207Aufrufe

Issue still persists with 20.19.15.4501 (8-11-2016)

 

Antworten