View Issue Details

IDProjectCategoryView StatusLast Update
0004740Spring engineGeneralpublic2015-04-13 21:15
Reporterabma Assigned Toabma  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product Version98.0.1+git 
Summary0004740: (CodeXL) vertex shader compilation fails (ATI)
Descriptioncodexl complains about a vertex shader compilation fails.

spring 98.0.1-524-ged46987
Additional Informationthis shader fails to compile:

        #define barColor gl_MultiTexCoord1
        #define progress gl_MultiTexCoord2.x
        #define offset gl_MultiTexCoord2.y

        void main()
        {
           // switch between font rendering and bar rendering
           if (gl_FogCoord>0.5f) {
             gl_TexCoord[0]= gl_TextureMatrix[0]*gl_MultiTexCoord0;
             gl_FrontColor = gl_Color;
             gl_Position = ftransform();
             return;
           }

           if (gl_Vertex.w>0) {
             gl_FrontColor = gl_Color;
             if (gl_Vertex.z>0.0) {
               gl_Vertex.x -= (1.0-progress)*gl_Vertex.z;
               gl_Vertex.z = 0.0;
             }
           }else{
             if (gl_Vertex.y>0.0) {
               gl_FrontColor = vec4(barColor.rgb*1.5,barColor.a);
             }else{
               gl_FrontColor = barColor;
             }
             if (gl_Vertex.z>1.0) {
               gl_Vertex.x += progress*gl_Vertex.z;
               gl_Vertex.z = 0.0;
             }
             gl_Vertex.w = 1.0;
           }

           gl_Vertex.y += offset;
           gl_Position = gl_ModelViewProjectionMatrix*gl_Vertex;
         }
      
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

related to 0004715 resolvedabma 98.0.1-457-g9736910 terrain invisible/black for some players with ati binary AND open source drivers 
related to 0004742 closedabma (CodeXL) OpenGL Error: glGetUniformLocation - GL_INVALID_VALUE 

Activities

abma

2015-04-12 02:01

administrator   ~0014338

ugh... where does this vertex come from?

abma

2015-04-12 02:03

administrator   ~0014339

Last edited: 2015-04-12 02:36

aww:

http://imolarpg.dyndns.org/trac/balatest/browser/trunk/luaui/widgets/gui_healthbars.lua#L167

reported upstream:

http://imolarpg.dyndns.org/trac/balatest/ticket/857

abma

2015-04-13 21:15

administrator   ~0014350

can't reproduce atm

Issue History

Date Modified Username Field Change
2015-04-12 01:28 abma New Issue
2015-04-12 01:30 abma Relationship added related to 0004715
2015-04-12 02:01 abma Note Added: 0014338
2015-04-12 02:03 abma Note Added: 0014339
2015-04-12 02:36 abma Note Edited: 0014339
2015-04-12 02:57 abma Summary vertex shader compilation fails (ATI) => (CodeXL) vertex shader compilation fails (ATI)
2015-04-13 03:27 abma Relationship added related to 0004742
2015-04-13 21:15 abma Note Added: 0014350
2015-04-13 21:15 abma Status new => closed
2015-04-13 21:15 abma Assigned To => abma
2015-04-13 21:15 abma Resolution open => unable to reproduce