mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[Makefile] Fix dxc params in validate-hlsl
This commit is contained in:
committed by
Dzmitry Malyshau
parent
9192f7b882
commit
988fc90b83
2
Makefile
2
Makefile
@@ -72,7 +72,7 @@ validate-hlsl: $(SNAPSHOTS_BASE_OUT)/hlsl/*.hlsl
|
||||
fragment="" \
|
||||
compute="" \
|
||||
. $${config}; \
|
||||
DXC_PARAMS="-Wno-parentheses-equality -Zi -Qembed_debug;" \
|
||||
DXC_PARAMS="-Wno-parentheses-equality -Zi -Qembed_debug"; \
|
||||
[ ! -z "$${vertex}" ] && echo "Vertex Stage:" && dxc $${file} -T $${vertex} -E $${vertex_name} $${DXC_PARAMS} > /dev/null; \
|
||||
[ ! -z "$${fragment}" ] && echo "Fragment Stage:" && dxc $${file} -T $${fragment} -E $${fragment_name} $${DXC_PARAMS} > /dev/null; \
|
||||
[ ! -z "$${compute}" ] && echo "Compute Stage:" && dxc $${file} -T $${compute} -E $${compute_name} $${DXC_PARAMS} > /dev/null; \
|
||||
|
||||
Reference in New Issue
Block a user