(In reply to David Heidelberger (okias) from comment #1) > Created attachment 107809 [details] > r300_regalloc.txt > > Also, problematic swizzle can be seen on instruction 27: in diff wx -> wz. .wz is a legal swizzle according to the native_swizzles table. Can you add printfs to lookup_native_swizzle to see why it is not being treated as a legal swizzle?