ShaderC: Version update v2022.3 -> v2024.3 #129971

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:vulkan/shaderc-2024.3 into main 2024-11-29 07:43:43 +01:00
Member

Bump shaderc to latest release. The latest release
contains fixes that we applied locally to improve
compilation performance and also many fixes
that improve platform compatibility.

Bump shaderc to latest release. The latest release contains fixes that we applied locally to improve compilation performance and also many fixes that improve platform compatibility.
Jeroen Bakker added this to the 4.4 milestone 2024-11-07 15:09:08 +01:00
Jeroen Bakker added the
Interest
Vulkan
label 2024-11-07 15:09:08 +01:00
Jeroen Bakker self-assigned this 2024-11-07 15:09:08 +01:00
Jeroen Bakker added 1 commit 2024-11-07 15:09:15 +01:00
Bump shaderc to latest release. The latest release
contains fixes that we applied locally to improve
compilation performance and also many fixes
that improve platform compatibility.
Jeroen Bakker added this to the Module: Platforms, Builds, Tests & Devices project 2024-11-07 15:09:22 +01:00
Jeroen Bakker changed title from WIP: ShaderC: v2022.3 -> v2024.3 to ShaderC: v2022.3 -> v2024.3 2024-11-07 15:47:28 +01:00
Jeroen Bakker changed title from ShaderC: v2022.3 -> v2024.3 to ShaderC: Version update v2022.3 -> v2024.3 2024-11-07 15:47:40 +01:00
Jeroen Bakker requested review from Sebastian Parborg 2024-11-07 15:47:50 +01:00
Jeroen Bakker requested review from Jonas Holzman 2024-11-07 15:47:58 +01:00
Jeroen Bakker requested review from Ray molenkamp 2024-11-07 15:48:05 +01:00
Ray molenkamp requested changes 2024-11-08 16:32:34 +01:00
Dismissed
Ray molenkamp left a comment
Member

Looks like they messed with their python stuff a little bit, i needed these changes for it to build

diff --git a/build_files/build_environment/cmake/shaderc.cmake b/build_files/build_environment/cmake/shaderc.cmake
index 8112565391f..333a5704965 100644
--- a/build_files/build_environment/cmake/shaderc.cmake
+++ b/build_files/build_environment/cmake/shaderc.cmake
@@ -8,7 +8,8 @@ set(SHADERC_EXTRA_ARGS
   -DSHADERC_SPIRV_HEADERS_DIR=${BUILD_DIR}/shaderc_spirv_headers/src/external_shaderc_spirv_headers
   -DSHADERC_GLSLANG_DIR=${BUILD_DIR}/shaderc_glslang/src/external_shaderc_glslang
   -DCMAKE_DEBUG_POSTFIX=_d
-  -DPYTHON_EXECUTABLE=${PYTHON_BINARY}
+  -DPython_EXECUTABLE=${PYTHON_BINARY}
+  -DPython3_EXECUTABLE=${PYTHON_BINARY}
 )

 ExternalProject_Add(external_shaderc
Looks like they messed with their python stuff a little bit, i needed these changes for it to build ```diff diff --git a/build_files/build_environment/cmake/shaderc.cmake b/build_files/build_environment/cmake/shaderc.cmake index 8112565391f..333a5704965 100644 --- a/build_files/build_environment/cmake/shaderc.cmake +++ b/build_files/build_environment/cmake/shaderc.cmake @@ -8,7 +8,8 @@ set(SHADERC_EXTRA_ARGS -DSHADERC_SPIRV_HEADERS_DIR=${BUILD_DIR}/shaderc_spirv_headers/src/external_shaderc_spirv_headers -DSHADERC_GLSLANG_DIR=${BUILD_DIR}/shaderc_glslang/src/external_shaderc_glslang -DCMAKE_DEBUG_POSTFIX=_d - -DPYTHON_EXECUTABLE=${PYTHON_BINARY} + -DPython_EXECUTABLE=${PYTHON_BINARY} + -DPython3_EXECUTABLE=${PYTHON_BINARY} ) ExternalProject_Add(external_shaderc ```
Ray molenkamp requested review from Anthony Roberts 2024-11-08 16:32:50 +01:00
Jeroen Bakker added 1 commit 2024-11-11 08:56:55 +01:00
Jeroen Bakker requested review from Ray molenkamp 2024-11-11 08:57:11 +01:00
Anthony Roberts approved these changes 2024-11-12 18:01:13 +01:00
Anthony Roberts left a comment
Member

This builds and runs on WoA devices that support vulkan - and also fixes the issue (optimisation needing to be disabled) that needed the version bump.

This builds and runs on WoA devices that support vulkan - and also fixes the issue (optimisation needing to be disabled) that needed the version bump.

After a discussion with Jeroen separately, I am attaching the output of the build on a WoA device here, to allow for some local testing/investigations

After a discussion with Jeroen separately, I am attaching the output of the build on a WoA device here, to allow for some local testing/investigations
Sebastian Parborg approved these changes 2024-11-21 12:02:17 +01:00
Ray molenkamp approved these changes 2024-11-22 11:46:42 +01:00
Jonas Holzman approved these changes 2024-11-28 22:41:06 +01:00
Jeroen Bakker merged commit c8f0351b55 into main 2024-11-29 07:43:43 +01:00
Jeroen Bakker deleted branch vulkan/shaderc-2024.3 2024-11-29 07:43:46 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#129971
No description provided.