zink: be explicit about separate shader dsl indexing during creation
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 3 Apr 2023 16:45:11 +0000 (12:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 11:29:01 +0000 (11:29 +0000)
commit09320705f071545648b1dbda50ee37a6cd48c0bf
treecc0d9e6fce24b85c142dad902d869225e59aec5b
parentb0cdd5a1d2733a9a8d124e379147a7f29be6d625
zink: be explicit about separate shader dsl indexing during creation

this fixes a minor issue where a fs without a vs dsl would have the wrong
index

Fixes: e3b746e3a31 ("zink: use GPL to handle (simple) separate shader objects")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22269>
src/gallium/drivers/zink/zink_program.c