<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - radv: OpBitFieldInsert produces 0 with a loop counter for Insert"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104119#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - radv: OpBitFieldInsert produces 0 with a loop counter for Insert"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104119">bug 104119</a>
from <span class="vcard"><a class="email" href="mailto:samuel.pitoiset@gmail.com" title="Samuel Pitoiset <samuel.pitoiset@gmail.com>"> <span class="fn">Samuel Pitoiset</span></a>
</span></b>
<pre>Possible fix:
diff --git i/src/amd/vulkan/radv_shader.c w/src/amd/vulkan/radv_shader.c
index 4a3fdfa80e..0b19d23fa2 100644
--- i/src/amd/vulkan/radv_shader.c
+++ w/src/amd/vulkan/radv_shader.c
@@ -66,6 +66,7 @@ static const struct nir_shader_compiler_options nir_options =
{
.lower_extract_byte = true,
.lower_extract_word = true,
.lower_ffma = true,
+ .lower_bitfield_insert = true,
.max_unroll_iterations = 32
};</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>