Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit

Permalink
8242185: Lanai: JDK built on macOS 10.15 fails to run on macOS 10.13
Browse files Browse the repository at this point in the history
Specify metal version 2.0 when compiling shaders
  • Loading branch information
kevinrushforth committed Apr 7, 2020
1 parent 3fcc3f7 commit 5574cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/lib/Awt2dLibraries.gmk
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ ifeq ($(call isTargetOs, macosx), true)
DEPS := $(SHADERS_SRC), \ DEPS := $(SHADERS_SRC), \
OUTPUT_FILE := $(SHADERS_AIR), \ OUTPUT_FILE := $(SHADERS_AIR), \
SUPPORT_DIR := $(SHADERS_SUPPORT_DIR), \ SUPPORT_DIR := $(SHADERS_SUPPORT_DIR), \
COMMAND := $(METAL) -c -o $(SHADERS_AIR) $(SHADERS_SRC), \ COMMAND := $(METAL) -c -std=osx-metal2.0 -o $(SHADERS_AIR) $(SHADERS_SRC), \
)) ))


$(eval $(call SetupExecute, metallib_shaders, \ $(eval $(call SetupExecute, metallib_shaders, \
Expand Down

0 comments on commit 5574cca

Please sign in to comment.