summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-26 00:36:17 +0000
committerEmil Velikov <[email protected]>2015-12-03 19:21:19 +0000
commit5a23f6bd8d8d26e0e75801df44cc228f15f9768e (patch)
treebb496052c6b4bee01b54b9fcfd6151b4c7dfe978 /src/gallium/auxiliary/Makefile.am
parent622186fbdf47e4c77aadba3e38567636ecbcccf5 (diff)
mesa: rework the meaning of gl_debug_message::length
Currently it stores strlen(buf) whenever the user originally provided a negative value for length. Although I've not seen any explicit text in the spec, CTS requires that the very same length (be that negative value or not) is returned back on Pop. So let's push down the length < 0 checks, tweak the meaning of gl_debug_message::length and fix GetDebugMessageLog to add and count the null terminators, as required by the spec. v2: return correct total length in GetDebugMessageLog v3: rebase (drop _mesa_shader_debug hunk). Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.am')
0 files changed, 0 insertions, 0 deletions