zink: do not insist shaders come from glsl
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 2 Feb 2021 11:43:35 +0000 (12:43 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Feb 2021 16:00:37 +0000 (16:00 +0000)
commit701ade314fcd3e8f18e1ce84aedc98facc3a124a
tree767f750e36cfd5b439309b50f7b8ed359f390eca
parent84fd3b7709a4823711fcfa643fdc68f03b16f0e4
zink: do not insist shaders come from glsl

We don't know what shading-language our shaders come from. This
information is lost before we get here. So let's not declare that these
come from GLSL shaders, even though that's likely to be the case.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8832>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c