[Bug 84758] New: Register spilling with gl_VertexID

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 7 08:27:56 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84758

            Bug ID: 84758
           Summary: Register spilling with gl_VertexID
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: eero.t.tamminen at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: petri.latvala at intel.com
            Blocks: 77547

HS/SW setup:
- HSW GT3e
- Mesa git from 2014-09-30
- Ubuntu 14.04

Test-case:
- Build ogl-samples test-suite from:
  https://github.com/g-truc/ogl-samples.git
- Run following test:
  build/Release/gl-400-fbo-rtt-texture-array

Actual result:
- "Vertex shader triggered register spilling.  Try reducing number of live vec4
value to improve performance."

Expected result:
- No register spilling with this simple vertex shader


Vertex shader is this:
https://github.com/g-truc/ogl-samples/blob/master/data/gl-400/rtt-array.vert

Code for the test is here:
https://github.com/g-truc/ogl-samples/blob/master/tests/gl-400-fbo-rtt-texture-array.cpp


Same thing happens also with the other tests using gl_VertexID as array index
to small const array, for example with gl-320-draw-without-vertex-attrib test:
https://github.com/g-truc/ogl-samples/blob/master/data/gl-320/draw-without-vertex-attrib.vert

(which doesn't require setting these like gl-400-fbo-rtt* tests do:
  MESA_GL_VERSION_OVERRIDE=4.00
  MESA_GLSL_VERSION_OVERRIDE=400
)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20141007/43d6bd3a/attachment.html>


More information about the intel-3d-bugs mailing list