From be333794cdef761356fb82d8eefec0ed4e763ede Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 21 May 2023 17:18:58 +0200 Subject: [PATCH 1/2] Backport support for d3d12 (GPU driver of WSLg) --- recipe/851.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipe/851.patch diff --git a/recipe/851.patch b/recipe/851.patch new file mode 100644 index 0000000..51a5080 --- /dev/null +++ b/recipe/851.patch @@ -0,0 +1,15 @@ +diff --git a/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl b/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl +index 4e3912853..049e3e5b5 100644 +--- a/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl ++++ b/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl +@@ -6,6 +6,10 @@ + #version 430 core + @else + #version 330 core ++ ++ @property( !hlms_readonly_is_tex ) ++ #extension GL_ARB_shader_storage_buffer_object: require ++ @end + @end + @end + From 8931f3e81a01a918d863a3b31b41159b3e54114a Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 21 May 2023 17:20:15 +0200 Subject: [PATCH 2/2] Update meta.yaml --- recipe/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cbd5c8e..1b87ca5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -14,9 +14,11 @@ package: source: - url: https://github.com/gazebosim/{{ repo_name }}/archive/{{ repo_name }}{{ version }}.tar.gz sha256: 93c6ee6fcf31ab344a6d9c93d0a7147a4dedb4ff77c92d0e053bc1d762085581 + patches: + - 851.patch build: - number: 0 + number: 1 outputs: - name: {{ cxx_name }}