<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 28, 2018 at 5:29 AM, Nicolai Hähnle <span dir="ltr"><<a href="mailto:nhaehnle@gmail.com" target="_blank">nhaehnle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 25.05.2018 23:03, Marek Olšák wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Marek Olšák <<a href="mailto:marek.olsak@amd.com" target="_blank">marek.olsak@amd.com</a>><br>
<br>
Bindless texture handles can be passed via vertex attribs using this type.<br>
This fixes a bunch of bindless piglit tests on radeonsi.<br>
<br>
Cc: 18.0 18.1 <<a href="mailto:mesa-stable@lists.freedesktop.org" target="_blank">mesa-stable@lists.freedesktop<wbr>.org</a>><br>
---<br>
src/mesa/state_tracker/st_atom<wbr>_array.c | 3 +++<br>
1 file changed, 3 insertions(+)<br>
<br>
diff --git a/src/mesa/state_tracker/st_at<wbr>om_array.c b/src/mesa/state_tracker/st_at<wbr>om_array.c<br>
index 9a0935e21a5..76dc81975c8 100644<br>
--- a/src/mesa/state_tracker/st_at<wbr>om_array.c<br>
+++ b/src/mesa/state_tracker/st_at<wbr>om_array.c<br>
@@ -292,20 +292,23 @@ st_pipe_vertex_format(const struct gl_array_attributes *attrib)<br>
assert(size == 3 && !integer && format == GL_RGBA);<br>
return PIPE_FORMAT_R11G11B10_FLOAT;<br>
case GL_UNSIGNED_BYTE:<br>
if (format == GL_BGRA) {<br>
/* this is an odd-ball case */<br>
assert(normalized);<br>
return PIPE_FORMAT_B8G8R8A8_UNORM;<br>
}<br>
break;<br>
+<br>
+ case GL_UNSIGNED_INT64_ARB:<br>
+ return PIPE_FORMAT_R32G32_UINT;<br>
</blockquote>
<br></span>
Is it not possible to have vectors of uint64 as attributes?<br></blockquote><div><br></div><div>I don't think we support uint64 in shaders. We only support bindless samplers, which can't be vectors.</div><div><br></div><div>Marek<br></div></div></div></div>