[Bug 84023] New: multiple uniform buffers problem

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 17 15:47:25 PDT 2014


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

          Priority: medium
            Bug ID: 84023
          Assignee: idr at freedesktop.org
           Summary: multiple uniform buffers problem
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: minor
    Classification: Unclassified
                OS: Linux (All)
          Reporter: ya.maxis11 at yandex.ru
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: glsl-compiler
           Product: Mesa

Created attachment 106468
  --> https://bugs.freedesktop.org/attachment.cgi?id=106468&action=edit
c++ host

Today I tested how two uniform buffers work in mesa and find a bug, when unable
to edit second buffer. It's happen when you uses values from uniform buffers to
create vec4.

Vertex shader:
#version 330 core

uniform test_unif1
{
    float test1;
    float test2;
};

uniform test_unif2
{
    float test3;
    float test4;
};

in vec4 pos;
out vec4 fcolor;

void main(void)
{
    gl_Position = pos;
    fcolor = vec4(test1,test2,test3,test4);
}

test3 and test4 is unchangeable from c++ host. If I do this:

gl_Position = test4 * pos;
fcolor = vec4(test1,test2,test3,1.0f);

test3 and test4 will work ok. So I think it's a bug of driver.
Radeon 6480g + radeon 7470m. Ubuntu 14.10. Drivers from oibaf ppa.

-- 
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/20140917/773d3f35/attachment.html>


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