microsoft/compiler: Improve linking helpers

* Take masks instead of shaders
* Be more aggressive at removing sysvals
* Handle loading from outputs

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28535>
This commit is contained in:
Jesse Natalie
2024-04-01 09:41:20 -07:00
committed by Marge Bot
parent d4a15a048b
commit ed757b010a
4 changed files with 93 additions and 63 deletions
+1
View File
@@ -414,6 +414,7 @@ dzn_pipeline_compile_shader(struct dzn_device *device,
struct blob dxil_blob;
VkResult result = VK_SUCCESS;
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
if (instance->debug_flags & DZN_DEBUG_NIR)
nir_print_shader(nir, stderr);