microsoft/compiler: Add helpers for getting res_props structs
authorJesse Natalie <jenatali@microsoft.com>
Mon, 27 Feb 2023 18:32:14 +0000 (10:32 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 21:48:43 +0000 (21:48 +0000)
commit6220fb454f5035a10d9ffb2720cf53fd8c60b04d
tree8ae02644f90884c8881a70ec752f8e8fa5f54042
parentabc2412ccc430565af05f257cd3e51f967994b19
microsoft/compiler: Add helpers for getting res_props structs

Currently we can get one by looking up already-emitted resource
metadata, but in the future we'll want to be able to get this
info from a call site alone. Depending on the type of call site,
we'll have different sets of info, so add helpers for the
various different kinds of call sites we can support.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21913>
src/microsoft/compiler/dxil_module.c
src/microsoft/compiler/dxil_module.h