rlsl 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +16 -1
- data/lib/rlsl/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0753b46ec16e2df8308ecab2b9e197cf24ab1d02f5028240d8fa6f9a886529b
|
|
4
|
+
data.tar.gz: dcaf85ad34c2e2f4aa9479dbe3f405fd063d9d46c47966a1d4e137a8c4c513cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13bd3732c03a7b6f0c0244ee63cc4d49ebba3264fa1dc6e8a78237b8e1d0c69ed15129787174871556e6afb8452d8cba6fb6c8bbac3f31a5488765a9866a1977
|
|
7
|
+
data.tar.gz: e970cf8b44c96da77f52c0b6b68f578c896b710f2e5e41e5089726d652e762b51f1d6e3523393f4d31c355c9f3c845f7ca115dba2d1bba0e0e14d0e013dc06fc
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -154,7 +154,22 @@ RLSL supports common shader functions:
|
|
|
154
154
|
|
|
155
155
|
- Ruby >= 3.1.0
|
|
156
156
|
- [Prism](https://github.com/ruby/prism) gem (for Ruby parsing)
|
|
157
|
-
|
|
157
|
+
|
|
158
|
+
### Optional: Metal Shader Execution (macOS only)
|
|
159
|
+
|
|
160
|
+
To run Metal shaders natively, install the [metaco](https://github.com/ydah/metaco) gem separately:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
$ gem install metaco
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Or add to your Gemfile:
|
|
167
|
+
|
|
168
|
+
```ruby
|
|
169
|
+
gem "metaco", platforms: :ruby, install_if: -> { RUBY_PLATFORM.include?("darwin") }
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
MSL code generation (`RLSL.define_metal`) works without metaco. The gem is only required when calling `render_metal` at runtime.
|
|
158
173
|
|
|
159
174
|
## Development
|
|
160
175
|
|
data/lib/rlsl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rlsl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yudai Takada
|
|
@@ -23,20 +23,6 @@ dependencies:
|
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
25
|
version: '0'
|
|
26
|
-
- !ruby/object:Gem::Dependency
|
|
27
|
-
name: metaco
|
|
28
|
-
requirement: !ruby/object:Gem::Requirement
|
|
29
|
-
requirements:
|
|
30
|
-
- - ">="
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0'
|
|
33
|
-
type: :runtime
|
|
34
|
-
prerelease: false
|
|
35
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - ">="
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '0'
|
|
40
26
|
description: RLSL is a Ruby DSL for writing shaders that can be transpiled to GLSL,
|
|
41
27
|
WGSL, and MSL
|
|
42
28
|
email:
|