mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
pathfinder: fix spirv makefile and generate outputs
This commit is contained in:
parent
0e040680df
commit
e61c482bdf
15 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
TARGET_DIR?=.
|
||||
TARGET_DIR?=spirv
|
||||
|
||||
EMPTY=
|
||||
|
||||
|
@ -23,7 +23,7 @@ INCLUDES=\
|
|||
$(EMPTY)
|
||||
|
||||
OUT=\
|
||||
$(SHADERS:%.glsl=$(TARGET_DIR)/spirv-vulkan/%.spv) \
|
||||
$(SHADERS:%.glsl=$(TARGET_DIR)/%.spv) \
|
||||
$(EMPTY)
|
||||
|
||||
GLSLANGFLAGS=--auto-map-locations -I.
|
||||
|
@ -36,8 +36,8 @@ all: $(OUT)
|
|||
clean:
|
||||
rm -f $(OUT)
|
||||
|
||||
$(TARGET_DIR)/spirv-vulkan/%.fs.spv: %.fs.glsl $(INCLUDES)
|
||||
mkdir -p $(TARGET_DIR)/spirv && glslangValidator $(GLSLANGFLAGS_VULKAN) -S frag -o $@ $<
|
||||
$(TARGET_DIR)/%.fs.spv: glsl/%.fs.glsl $(INCLUDES)
|
||||
mkdir -p $(TARGET_DIR) && glslangValidator $(GLSLANGFLAGS_VULKAN) -S frag -o $@ $<
|
||||
|
||||
$(TARGET_DIR)/spirv-vulkan/%.vs.spv: %.vs.glsl $(INCLUDES)
|
||||
mkdir -p $(TARGET_DIR)/spirv && glslangValidator $(GLSLANGFLAGS_VULKAN) -S vert -o $@ $<
|
||||
$(TARGET_DIR)/%.vs.spv: glsl/%.vs.glsl $(INCLUDES)
|
||||
mkdir -p $(TARGET_DIR) && glslangValidator $(GLSLANGFLAGS_VULKAN) -S vert -o $@ $<
|
BIN
crates/bevy_pathfinder/src/shaders/spirv/blit.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/blit.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/blit.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/blit.vs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/fill.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/fill.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/fill.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/fill.vs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/reproject.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/reproject.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/reproject.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/reproject.vs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/stencil.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/stencil.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/stencil.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/stencil.vs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile.vs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_clip.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_clip.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_clip.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_clip.vs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_copy.fs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_copy.fs.spv
Normal file
Binary file not shown.
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_copy.vs.spv
Normal file
BIN
crates/bevy_pathfinder/src/shaders/spirv/tile_copy.vs.spv
Normal file
Binary file not shown.
Loading…
Reference in a new issue