Archived issue #0028241
Visualization, Path tracing - shader compilation error on Radeon 290
Description
Path Tracing program does not work anymore (REGRESSION after #0028126) on Radeon 290 due to the following error:
The error happens on the following line:
Draw[13]> vrenderparams -gi TKOpenGl.GLSL | Type: Error | ID: 2000 | Severity: High | Message: glCompileShader failed to compile a GLSL shader with the following shader info log: 'Fragment shader failed to compile with the following errors: ERROR: 0:1443: error(#0000202) No matching overloaded function found: mix ERROR: 0:1443: error(#0000247) Function return does not match type ERROR: error(#273) 2 compilation errors. No code generated ' TKOpenGl | Type: Error | ID: 0 | Severity: High | Message: Failed to compile ray-tracing fragment shaders Draw[15]> vglinfo OpenGL info: GLvendor: ATI Technologies Inc. GLdevice: AMD Radeon R9 200 Series GLversion: 4.5.13447 Compatibility Profile/Debug Context 16.300.2311.0 GLSLversion: 4.50 GLdebug: ON Max texture size: 16384 Max MSAA samples: 8 Viewport: 409x409 ResolutionRatio: 1
The error happens on the following line:
return mix (UNIT, ZERO, theWo.z <= 0.f);
Steps to reproduce
v3d raytrace bug25201,bug25221,bug26617,sample_ball,sample_ball_alpha,sample_cube,sample_cube_twosided
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: dbp
Date: Mon Dec 19 14:00:09 2016 +0300
0028241: Visualization, Path tracing - shader compilation error on Radeon 290
[revision removed]
Detailed log of new commits:
Author: dbp
Date: Mon Dec 19 14:00:09 2016 +0300
0028241: Visualization, Path tracing - shader compilation error on Radeon 290
Dear kgv,
Could you please review the fix in branch CR28241?
Could you please review the fix in branch CR28241?
Please test the patch.
Dear BugMaster,
Branch CR28241 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MasOS: 0 (0 on master)
products component:
Linux: 63
Windows: 0
MacOS: 1132
Regressions/Differences:
Not detected
Testing cases:
v3d raytrace bug25201 - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/bug25201.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/bug25201.html
v3d raytrace bug25221 - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/bug25221.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/bug25221.html
v3d raytrace bug26617 - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/bug26617.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/bug26617.html
v3d raytrace sample_ball - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_ball.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_ball.html
v3d raytrace sample_ball_alpha - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_ball_alpha.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_ball_alpha.html
v3d raytrace sample_cube - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_cube.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_cube.html
v3d raytrace sample_cube_twosided - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_cube_twosided.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_cube_twosided.html
Testing on Linux:
Total MEMORY difference: 93439682 / 92914380 [+0.57%]
Total CPU difference: 21562.920000000224 / 21640.46000000027 [-0.36%]
Testing on Windows:
Total MEMORY difference: 58501373 / 58518712 [-0.03%]
Total CPU difference: 19469.299202398593 / 19818.897443398673 [-1.76%]
Branch CR28241 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MasOS: 0 (0 on master)
products component:
Linux: 63
Windows: 0
MacOS: 1132
Regressions/Differences:
Not detected
Testing cases:
v3d raytrace bug25201 - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/bug25201.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/bug25201.html
v3d raytrace bug25221 - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/bug25221.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/bug25221.html
v3d raytrace bug26617 - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/bug26617.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/bug26617.html
v3d raytrace sample_ball - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_ball.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_ball.html
v3d raytrace sample_ball_alpha - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_ball_alpha.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_ball_alpha.html
v3d raytrace sample_cube - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_cube.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_cube.html
v3d raytrace sample_cube_twosided - OK
http://occt-tests/CR28241-master-OCCT/Debian70-64/v3d/raytrace/sample_cube_twosided.html
http://occt-tests/CR28241-master-OCCT/Windows-64-VC10/v3d/raytrace/sample_cube_twosided.html
Testing on Linux:
Total MEMORY difference: 93439682 / 92914380 [+0.57%]
Total CPU difference: 21562.920000000224 / 21640.46000000027 [-0.36%]
Testing on Windows:
Total MEMORY difference: 58501373 / 58518712 [-0.03%]
Total CPU difference: 19469.299202398593 / 19818.897443398673 [-1.76%]
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records