Skip to content

microsoft/compiler: Fix emit_ubo_var()

Boris Brezillon requested to merge bbrezillon/mesa:ms-emit-ubo-fix into main

get_dword_size() is misleading, its name implies it's returning a size in dwords, but it's actually returning a size in bytes. This led to a wrong size passed to emit_cbv(). Instead of fixing get_dword_size(), let's inline the code in emit_ubo_var().

Merge request reports