zink: enable 16-bit int support

Graphics / Mesa 3D Graphics Library / Mesa - Erik Faye-Lund [collabora.com] - 30 April 2021 12:02 UTC

The mysterious support_16bit_int_alu-option doesn't really mean what it says. Instead it means "we support 16 bit compares, if 16 bit ALU operations occur". And since 16 bit operations only appear if we're lowering mediump/lowp, we can always set this option.

404521529ce zink: enable 16-bit int support
src/gallium/drivers/zink/zink_compiler.c | 1 +
src/gallium/drivers/zink/zink_screen.c | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share