mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
microsoft/spirv_to_dxil: Fix non-Windows build.
../src/microsoft/spirv_to_dxil/dxil_validation.cpp: In function ‘bool validate_dxil(dxil_spirv_object*)’:
../src/microsoft/spirv_to_dxil/dxil_validation.cpp:129:12: error: ‘stderr’ was not declared in this scope
129 | fprintf(stderr, "DXIL validation only available in Windows.\n");
| ^~~~~~
Fixes: 37c366e283 ("microsoft/spirv_to_dxil: Add DXIL validation to spirv2dxil")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13736>
This commit is contained in:
parent
07aaef5721
commit
1ca90f8752
1 changed files with 2 additions and 1 deletions
|
|
@ -21,11 +21,12 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "dxil_validation.h"
|
||||
|
||||
#if DETECT_OS_WINDOWS
|
||||
|
||||
#include <cstdio>
|
||||
#include <windows.h>
|
||||
#include <wrl/client.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue