Skip to content

Commit

Permalink
Merge pull request #10 from traversaro/wslg
Browse files Browse the repository at this point in the history
Backport support for d3d12 (GPU driver of WSLg)
  • Loading branch information
traversaro authored May 21, 2023
2 parents 98b04d6 + 8931f3e commit 0fe2513
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions recipe/851.patch
Original file line number Diff line number Diff line change
@@ -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

4 changes: 3 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 0fe2513

Please sign in to comment.