Activity log for bug #912674

Date Who What changed Old value New value Message
2012-01-06 09:15:18 Josh Enes bug added bug
2012-10-02 08:06:30 rdb panda3d: importance Undecided High
2012-10-02 08:06:30 rdb panda3d: status New Triaged
2012-10-02 08:06:30 rdb panda3d: milestone 1.8.1
2012-10-02 08:06:30 rdb panda3d: assignee rdb (rdb)
2012-10-02 08:06:54 rdb summary glsl shaders broken, "invalid operation" 1.8.0 breaks FFP vertex attributes in GLSL shaders
2012-10-02 08:07:39 rdb description Using the latest source from cvs, any object with a GLSL shader applied will not render, displaying a rather unhelpful: :display:gsg:glgsg(error): at 434 of c:\work\panda3d\panda\src\glstuff\glShaderContext_src.cxx : invalid operation Environment Particulars: Windows 7 64-bit Panda built from cvs using makepanda: "makepanda\makepanda.bat" --nothing --optimize 3 --use-direct --use-deploytools --use-nvidiacg --use-fmodex --use-png --use-jpeg --use-python --use-zlib --use-pandatool --use-gl --use-ode --use-freetype --use-dx9 --use-eigen ###Example Code: from panda3d.core import * from direct.showbase.ShowBase import ShowBase vshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } """ fshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() { gl_FragColor = vec4(1.0, 0.5, 1.0, 0.5); } """ class Game(ShowBase): def __init__(self): """Get the game ready to play.""" ShowBase.__init__(self) self.model = self.loader.loadModel('smiley') self.model.reparentTo(render) self.shader = Shader.make(Shader.SLGLSL, vshader, fshader) self.model.setShader(self.shader) game = Game() game.run() Panda3D 1.8.0 breaks gl_Vertex, gl_Normal, gl_MultiTexCoord0, etc. Related thread: https://www.panda3d.org/forums/viewtopic.php?p=88114#88114 Environment Particulars: Windows 7 64-bit Panda built from cvs using makepanda: "makepanda\makepanda.bat" --nothing --optimize 3 --use-direct --use-deploytools --use-nvidiacg --use-fmodex --use-png --use-jpeg --use-python --use-zlib --use-pandatool --use-gl --use-ode --use-freetype --use-dx9 --use-eigen ###Example Code: from panda3d.core import * from direct.showbase.ShowBase import ShowBase vshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() {   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } """ fshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() {   gl_FragColor = vec4(1.0, 0.5, 1.0, 0.5); } """ class Game(ShowBase):     def __init__(self):         """Get the game ready to play."""         ShowBase.__init__(self)         self.model = self.loader.loadModel('smiley')         self.model.reparentTo(render)         self.shader = Shader.make(Shader.SLGLSL, vshader, fshader)         self.model.setShader(self.shader) game = Game() game.run()
2012-10-02 08:07:51 rdb description Panda3D 1.8.0 breaks gl_Vertex, gl_Normal, gl_MultiTexCoord0, etc. Related thread: https://www.panda3d.org/forums/viewtopic.php?p=88114#88114 Environment Particulars: Windows 7 64-bit Panda built from cvs using makepanda: "makepanda\makepanda.bat" --nothing --optimize 3 --use-direct --use-deploytools --use-nvidiacg --use-fmodex --use-png --use-jpeg --use-python --use-zlib --use-pandatool --use-gl --use-ode --use-freetype --use-dx9 --use-eigen ###Example Code: from panda3d.core import * from direct.showbase.ShowBase import ShowBase vshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() {   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } """ fshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() {   gl_FragColor = vec4(1.0, 0.5, 1.0, 0.5); } """ class Game(ShowBase):     def __init__(self):         """Get the game ready to play."""         ShowBase.__init__(self)         self.model = self.loader.loadModel('smiley')         self.model.reparentTo(render)         self.shader = Shader.make(Shader.SLGLSL, vshader, fshader)         self.model.setShader(self.shader) game = Game() game.run() Panda3D 1.8.0 breaks gl_Vertex, gl_Normal, gl_MultiTexCoord0, etc. Related thread: https://www.panda3d.org/forums/viewtopic.php?p=88114#88114 ###Example Code: from panda3d.core import * from direct.showbase.ShowBase import ShowBase vshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() {   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } """ fshader = """//GLSL #version 120 #extension GL_ARB_compatibility : enable void main() {   gl_FragColor = vec4(1.0, 0.5, 1.0, 0.5); } """ class Game(ShowBase):     def __init__(self):         """Get the game ready to play."""         ShowBase.__init__(self)         self.model = self.loader.loadModel('smiley')         self.model.reparentTo(render)         self.shader = Shader.make(Shader.SLGLSL, vshader, fshader)         self.model.setShader(self.shader) game = Game() game.run()
2012-11-03 13:51:05 rdb panda3d: status Triaged Fix Committed