'#pragma include' error on Intel HD graphics card

Bug #1568884 reported by Mikhail
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Undecided
rdb

Bug Description

Intel HD GLSL compiler tries to parse the '#pragma include' statement:

> :display:gsg:glgsg(error): An error occurred while compiling GLSL compute shader grain.compute.glsl:
> ERROR: grain.compute.glsl:10: '' : illegal character (") (0x22)
> ERROR: grain.compute.glsl:10: '' : #pragma directive must end with a newline

As soon as it has already preprocessed by Panda3D, there no need to keep it in shader source.

Bug was originally discovered here: https://github.com/tobspr/RenderPipeline/issues/48

Tags: intelhd
Revision history for this message
rdb (rdb) wrote :

Thanks, I've committed a fix.

Changed in panda3d:
assignee: nobody → rdb (rdb)
status: New → Fix Committed
rdb (rdb)
Changed in panda3d:
milestone: none → 1.9.3
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.