<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - glTexImage2D regression by texstore_rgba switch to _mesa_format_convert"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89068#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - glTexImage2D regression by texstore_rgba switch to _mesa_format_convert"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89068">bug 89068</a>
from <span class="vcard"><a class="email" href="mailto:brad.king@kitware.com" title="Brad King <brad.king@kitware.com>"> <span class="fn">Brad King</span></a>
</span></b>
<pre>Thanks for taking a look!
I've just run a debug session with commit 1e02f2ba checked out.
<span class="quote">> what GPU are you running on?</span >
I'm building software-only:
./autogen.sh --prefix="..." \
--disable-dri --disable-egl --disable-shared-glapi \
--enable-xlib-glx --enable-gallium-osmesa --with-gallium-drivers=swrast \
--enable-gallium-llvm=yes LLVM_CONFIG=/usr/bin/llvm-config-3.3 \
--enable-llvm-shared-libs --enable-debug
<span class="quote">> a) the values of the parameters passed to compute_src2dst_component_mapping
> _after_ it has been called (they all are 4-element arrays, the last one is
> an out parameter so that is why I need the values after the call has been
> done)</span >
(gdb) p src2rgba
$1 = "\000\001\002\003"
(gdb) p rgba2dst
$2 = "\000\001\002\003"
(gdb) p rebase_swizzle
$3 = (uint8_t *) 0x0
(gdb) p src2dst
$4 = "\000\001\002\003"
<span class="quote">> b) The following input parameters for the call to _mesa_swizzle_and_convert
> right after: src_type, dst_type, dst_num_channels, src_num_channels,
> normalized, width.</span >
$5 = MESA_ARRAY_FORMAT_TYPE_USHORT
(gdb) p src_num_channels
$6 = 4
(gdb) p dst_type
$7 = MESA_ARRAY_FORMAT_TYPE_UBYTE
(gdb) p dst_num_channels
$8 = 4
(gdb) p normalized
$9 = true
(gdb) p width
$10 = 256</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>