mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
microsoft/compiler: Enable dxil_nir.h to be included from C++
Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Acked-by: Michael Tang <tangm@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9846>
This commit is contained in:
parent
65e1bee99c
commit
4941decc58
1 changed files with 8 additions and 0 deletions
|
|
@ -28,6 +28,10 @@
|
|||
#include "nir.h"
|
||||
#include "nir_builder.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
bool dxil_nir_lower_8bit_conv(nir_shader *shader);
|
||||
bool dxil_nir_lower_16bit_conv(nir_shader *shader);
|
||||
bool dxil_nir_lower_x2b(nir_shader *shader);
|
||||
|
|
@ -47,4 +51,8 @@ build_load_ubo_dxil(nir_builder *b, nir_ssa_def *buffer,
|
|||
nir_ssa_def *offset, unsigned num_components,
|
||||
unsigned bit_size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* DXIL_NIR_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue