https://bugs.freedesktop.org/show_bug.cgi?id=93796
Bug ID: 93796
Summary: glGetActiveAtomicCounterBufferiv is broken
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev@lists.freedesktop.org
Reporter: nioko1...@googlemail.com
QA Contact: mesa-dev@lists.freedesktop.org
Created attachment 121154
--> https://bugs.freedesktop.org/attachment.cgi?id=121154&action=edit
Fragment shader to reproduce bug
glGetActiveAtomicCounterBufferiv returns strange values for every <pname> I
tested so far. Using the attached fragment shader, I get the following outputs
(The atomic counter buffers have the ids 0 and 1, queried with glGetProgramiv):
glGetActiveAtomicCounterBufferiv(program, 0, GL_ATOMIC_COUNTER_BUFFER_BINDING,
&binding) -> binding is 1 (should be 0)
glGetActiveAtomicCounterBufferiv(program, 1, GL_ATOMIC_COUNTER_BUFFER_BINDING,
&binding) -> binding is 1 (correct)
glGetActiveAtomicCounterBufferiv(program, 0,
GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE, &size) -> size is 1 (correct I think)
glGetActiveAtomicCounterBufferiv(program, 1,
GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE, &size) -> size is 4294967297 (obviously not
correct, should be 1)
glGetActiveAtomicCounterBufferiv(program, 0,
ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS, &no_uniforms) -> no_uniforms is 1
(correct)
glGetActiveAtomicCounterBufferiv(program, 1,
ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS, &no_uniforms) -> no_uniforms is
4294967297 (obviously not correct, should be 1)
I'm using latest git mesa, dmesg does not output anything.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev