Width + offset must not overflow in SPIR-V. SM 5+ is well-defined here. It's enough to just clamp the width against 32 - offset in all cases. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> |
||
---|---|---|
.. | ||
checksum.c | ||
dxbc.c | ||
dxil.c | ||
meson.build | ||
spirv.c | ||
trace.c | ||
vkd3d_shader_main.c | ||
vkd3d_shader_private.h |