From 2e04d5d3fabdcb323eae755e030b4d5cadc59d75 Mon Sep 17 00:00:00 2001 From: Kagamma Date: Sat, 21 Jan 2023 20:58:38 +0700 Subject: [PATCH] Fix cross-compilation on Linux host (#67) * Unit names should match with file names to avoid case sensitive issue on Unix system * Explicit state the build is for win64 target --- chip/ps4_gpu_regs.pas | 4 ++-- chip/ps4_videodrv.pas | 2 +- fpPS4.lpi | 1 + spirv/srLiteral.pas | 2 +- src/ps4_libscevideoout.pas | 2 +- vulkan/vBuffer.pas | 2 +- vulkan/vCmdBuffer.pas | 2 +- vulkan/vFlip.pas | 2 +- vulkan/vImage.pas | 2 +- vulkan/vMemory.pas | 2 +- vulkan/vPipeline.pas | 2 +- vulkan/vRender.pas | 2 +- vulkan/vShader.pas | 2 +- vulkan/vShaderExt.pas | 2 +- 14 files changed, 15 insertions(+), 14 deletions(-) diff --git a/chip/ps4_gpu_regs.pas b/chip/ps4_gpu_regs.pas index 9697083..3459490 100644 --- a/chip/ps4_gpu_regs.pas +++ b/chip/ps4_gpu_regs.pas @@ -7,8 +7,8 @@ interface uses Classes, SysUtils, - half16, - vulkan, + Half16, + Vulkan, vImage, bittype, pm4defs, diff --git a/chip/ps4_videodrv.pas b/chip/ps4_videodrv.pas index f92ec01..0166e20 100644 --- a/chip/ps4_videodrv.pas +++ b/chip/ps4_videodrv.pas @@ -25,7 +25,7 @@ uses //ps4_Tiling, - vulkan, + Vulkan, vDevice, vMemory, vShader, diff --git a/fpPS4.lpi b/fpPS4.lpi index 2e947ca..157f7c8 100644 --- a/fpPS4.lpi +++ b/fpPS4.lpi @@ -581,6 +581,7 @@ + diff --git a/spirv/srLiteral.pas b/spirv/srLiteral.pas index 7145db9..1145ee9 100644 --- a/spirv/srLiteral.pas +++ b/spirv/srLiteral.pas @@ -6,7 +6,7 @@ interface uses sysutils, - half16, + Half16, srType, ginodes, srNode; diff --git a/src/ps4_libscevideoout.pas b/src/ps4_libscevideoout.pas index 54ba7f7..f462ef0 100644 --- a/src/ps4_libscevideoout.pas +++ b/src/ps4_libscevideoout.pas @@ -23,7 +23,7 @@ uses ps4_handles, ps4_libkernel, - vulkan, + Vulkan, vDevice, vMemory; diff --git a/vulkan/vBuffer.pas b/vulkan/vBuffer.pas index c019982..3eb2f53 100644 --- a/vulkan/vBuffer.pas +++ b/vulkan/vBuffer.pas @@ -5,7 +5,7 @@ unit vBuffer; interface uses - vulkan, + Vulkan, vDevice, vMemory; diff --git a/vulkan/vCmdBuffer.pas b/vulkan/vCmdBuffer.pas index 836907c..b3b95d7 100644 --- a/vulkan/vCmdBuffer.pas +++ b/vulkan/vCmdBuffer.pas @@ -12,7 +12,7 @@ uses g23tree, //ps4_libSceVideoOut, si_ci_vi_merged_enum, - vulkan, + Vulkan, vDevice, vMemory, //vShader, diff --git a/vulkan/vFlip.pas b/vulkan/vFlip.pas index e8bbdb6..fea9a46 100644 --- a/vulkan/vFlip.pas +++ b/vulkan/vFlip.pas @@ -8,7 +8,7 @@ uses Classes, SysUtils, ps4_libSceVideoOut, - vulkan, + Vulkan, vDevice, vMemory, vShader, diff --git a/vulkan/vImage.pas b/vulkan/vImage.pas index 2be06fc..de2ad69 100644 --- a/vulkan/vImage.pas +++ b/vulkan/vImage.pas @@ -5,7 +5,7 @@ unit vImage; interface uses - vulkan, + Vulkan, vDevice, vPipeline, vMemory; diff --git a/vulkan/vMemory.pas b/vulkan/vMemory.pas index 4d0a624..52aa4f2 100644 --- a/vulkan/vMemory.pas +++ b/vulkan/vMemory.pas @@ -6,7 +6,7 @@ interface uses g23tree, - vulkan, + Vulkan, vDevice; type diff --git a/vulkan/vPipeline.pas b/vulkan/vPipeline.pas index e95b1df..18e4f26 100644 --- a/vulkan/vPipeline.pas +++ b/vulkan/vPipeline.pas @@ -6,7 +6,7 @@ interface uses g23tree, - vulkan, + Vulkan, vDevice, vShader; diff --git a/vulkan/vRender.pas b/vulkan/vRender.pas index ed013af..7c0ed1f 100644 --- a/vulkan/vRender.pas +++ b/vulkan/vRender.pas @@ -12,7 +12,7 @@ uses g23tree, ps4_libSceVideoOut, si_ci_vi_merged_enum, - vulkan, + Vulkan, vDevice, vMemory, vShader, diff --git a/vulkan/vShader.pas b/vulkan/vShader.pas index 2375aeb..a590142 100644 --- a/vulkan/vShader.pas +++ b/vulkan/vShader.pas @@ -8,7 +8,7 @@ uses Classes, SysUtils, shaders, - vulkan, + Vulkan, vDevice; type diff --git a/vulkan/vShaderExt.pas b/vulkan/vShaderExt.pas index 15c1439..36048e7 100644 --- a/vulkan/vShaderExt.pas +++ b/vulkan/vShaderExt.pas @@ -9,7 +9,7 @@ uses SysUtils, ps4_shader, ps4_gpu_regs, - vulkan, + Vulkan, vDevice, vPipeline, vShader,