<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Vulkan: LunarG's Hologram demo hits an assert"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94182#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Vulkan: LunarG's Hologram demo hits an assert"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94182">bug 94182</a>
from <span class="vcard"><a class="email" href="mailto:jackoalan@gmail.com" title="jackoalan@gmail.com">jackoalan@gmail.com</a>
</span></b>
<pre>I can confirm the same assert failure on Haswell.
I've also found a workaround that could point to the root cause.
================ CRASH ====================
#version 310 es
precision highp float;
in vec3 color;
layout(location = 0) out vec4 fragcolor;
void main()
{
fragcolor = vec4(color, 0.5);
}
===========================================
============== NO CRASH ===================
#version 310 es
precision highp float;
in vec4 color;
layout(location = 0) out vec4 fragcolor;
void main()
{
fragcolor = vec4(color.xyz, 0.5);
}
===========================================
Something about a non-vec4 input upsets the compiler. The same crash happens
for vec2.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>