Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gfx-rs/naga

Universal shader translation in Rust
https://github.com/gfx-rs/naga

Document the `bake_ref_count` hack. (#1315)

8ef92227c161dfb1cdb6a553ea5e555c53592834 authored over 3 years ago
Fix GLSL output for non-fallthrough switch cases (#1310)

* Fix GLSL output for non-fallthrough switch cases

Partially reverts 02c74b50021379092a9d4567...

8417f849b1ddcd076a6435572e99b07a2c83af07 authored over 3 years ago
Implement fuzzing for the GLSL parser (#1301)

* Implement fuzzing for the GLSL parser

* Remove arbitrary dependency from naga

Derive `Ar...

2069ea698f4ff570c7d065b899f16a88725aca85 authored over 3 years ago
[glsl-in] Allow code after terminator statements (#1308)

* [glsl-in] Allow code after terminator statements

* [glsl-in] Track finished state in the co...

bd411c28c2247a27bbca10347db0094d2e317b44 authored over 3 years ago
[spv-out] Use bit flags in LocalImageType, instead of bools.

b35e40ec596e6dc192f745c402c7355cba4d6122 authored over 3 years ago
[spv-out] Replace `map_dim` with a `From` implementation.

995a7752a99a2f00653280850301bd3ed345fc3d authored over 3 years ago
[spv-out] Avoid generating duplicate OpTypeImage instructions.

Fixes #1305.

Ensure that two `back::spv::LocalType::Image` values are sure to be equal (and
has...

81fbad182c54fdf9296585c373bc454425a868c8 authored over 3 years ago
[spv-out] Write debug names for all types, not just structs.

This affects a lot of snapshots, so it's in its own commit, for easier review.

5b1c2e59f6e9208eea77a60f6866ddc5f6d8f998 authored over 3 years ago
[spv-out] Avoid duplicate lookup in write_type_declaration_local.

e8d35e8035968c076a1569ea76513b58e8bf8dcf authored over 3 years ago
[spv-out] Add test for duplicate OpTypeImage instructions.

b226c5108a56606f4815ed0b119367224d90a6a5 authored over 3 years ago
[spv-out] Let write_type_declaration_local handle all LocalTypes.

Change `write_type_declaration_local` to handle any type that can be represented
as a `LocalType...

6b72099d763243830eafcd9d801ce9cd2d93965f authored over 3 years ago
[spv-out] Request proper capabilities for storage image formats.

846dbb5a3e47bacb83727f767228f9f3622365b1 authored over 3 years ago
[hlsl-out] Fix output struct member names

f7040a2787b1de8cd169ed83765d12908d781156 authored over 3 years ago
[spv-out] Handle break and continue in switch statements.

Fixes #1030.
Fixes #1017.

cb0ad2504ce8bbd868237032f49c10c944b490cb authored over 3 years ago
Improve help messages, defaults for CLI bounds checking options.

496525b7d376d5a1b3c97a4731d43eb294a5ccb8 authored over 3 years ago
Gather index, buffer, and texture bounds check policies into a single struct.

28547e3d3b61a7872cdba66638f0bae17154f031 authored over 3 years ago
snapshot tests: Parse bounds checks policy properly.

140e3223e2564a8d313c6f237068591283c5da97 authored over 3 years ago
[spv-out] Support a separate bounds check policy for buffers.

1b95e023e79357a85258e68f88fa20ed1a79fb30 authored over 3 years ago
Rename `BoundsCheckPolicy::UndefinedBehavior` to `Unchecked`.

When we are leaning on robust buffer access to do the job for us, there's no
undefined behavior ...

bdf774aa8bd6914685a993ba0bcdc4efdc0ee1bb authored over 3 years ago
Add atomicSubtract support

1e9f2b9287855558fce07bf8a89c9149a4abdd55 authored over 3 years ago
[msl-out] don't pack location fields

715a53f891e488d5c1bfb962e10c1598263fbcc7 authored over 3 years ago
Fix fuzzing setup

Set naga features in `fuzz/Cargo.toml` to those required for SPIR-V and
WGSL input.
Also bump li...

db845347f23f3a00add894d38cf62d28f47669ed authored over 3 years ago
[glsl-in] Avoid infinite loop when parsing invalid statements (#1280)

f11afd4fcf16350cba29cfdac5f09ef9df7a57a7 authored over 3 years ago
Update deps petgraph and rose-tree

a35de06f33f43b3a44ab911143c35dd630b00893 authored over 3 years ago
Implement lexing and parsing for all WGSL number literal types (#1184)

* Implement lexing for all WGSL number literal types

* Move number literal test cases

* Ad...

58a5b7d2b9d9e09e4e55521e060849f5ebe64ad2 authored over 3 years ago
[wgsl-in] Test validation of arrays with zero and negative lengths.

93db57c12b4a5eff48bdd00c494efa5ec89567ad authored over 3 years ago
[spv-out] Quick tests for capability requests.

9713dbbbc195697fff86429e3d507a1b3960f047 authored over 3 years ago
[spv-out] Fix the processing of cube array images.

Using 1D images should require either the `Sampled1D` or `Image1D` capability.

Using cube array...

b56349e9bff3412c2aec1107075df982c59dc817 authored over 3 years ago
[spv-in] track function parameter sampling flags across handle permutation

ea883d98e2b49a3bab843f29ee526f83bac93019 authored over 3 years ago
[spv-out] Use `Selection` for building conditionals.

Introduce a helper type that manages the details of emitting SPIR-V
conditionals, tracking label...

c6ecd973e7db5c305cc285c2681702b353859725 authored over 3 years ago
[spv-out] Implement BoundsCheckPolicy for image access

901e2c0694c8d838ab66abb403ea19e2409215b6 authored over 3 years ago
[spv-out] Add GlobalVariable helper functions.

3f4cd9dc8885e575738ea99b4b2b58c37cab1e21 authored over 3 years ago
[spv-out] Move image operations into their own module.

For ease of review, there should be no meaningful code changes in this commit.
Match arms are me...

99de38730205b80d767dcfc188a8ca10671e8cc4 authored over 3 years ago
[spv-out] Use 'image' instead of 'texture', consistent with SPIR-V.

c1121a1e622fe5444738ba3aca223d4da3d0e200 authored over 3 years ago
Rename `IndexBoundsCheckPolicy` to `BoundsCheckPolicy`.

de114e479b8999937e856400c31f3e46b98d02b3 authored over 3 years ago
[glsl-out] Modulo operator on float must be converted to mod function (#1271)

Fixes #1266

fd10b7d9e80a340acc4e4fda099d527343c0062d authored over 3 years ago
HLSL: rewrite handling of interface matching rules (#1276)

* [hlsl-out] flatten the entry point inputs

Previously, the logic was re-ordering the inputs ...

81f4ff032f8658d1d6b1e64e567b11419ae5a373 authored over 3 years ago
[wgsl-in] Print errors nicely in convert_wgsl snapshot tests. (#1274)

63e58f20222da13a6e50a26b4b594c0cf3369833 authored over 3 years ago
[hlsl-out] Implement switch statement (#1265)

* [hlsl-out] Implement switch statement

* [hlsl-out] Implement switch statement

* Add swit...

464788dc8ddbe1fb3127a6f6baef86c319eb62de authored over 3 years ago
[glsl-in] Add support for derivative functions

b0569d9593398feece975756501758e6647f99e1 authored over 3 years ago
[msl-out] Fix gradient sampling typo

222e0949bdd0a06aaceabfb105fafc2e336de6eb authored over 3 years ago
Allow newer bitflags

800f9101032cdf804477ee29ec617af0710a4741 authored over 3 years ago
[spv-in] fix expression emit in image store

70be72d9b9615557fa8726829813755ee6b52279 authored over 3 years ago
[glsl-in] Add support for float encoding/decoding builtins

Fixes #1246

c09354c78e0ceda96fd97a6951e4d0cd5d1b3185 authored over 3 years ago
Fix round in backends and add support for roundEven in frontends

fd3f9543b55aff03b7087d075fca9b340d60f5a1 authored over 3 years ago
[spv-out] Clean up capability handling.

Remove `forbidden_caps`.

Accumulate capabilities actually used separately from the permitted
ca...

ea168baf569448b52fbe07fd145dd566de35a439 authored over 3 years ago
[wgsl-in] [wgsl-out] Implement bitcast()

897afbd710c3f1aa4b6bf82e4b6a08f70daa9a51 authored over 3 years ago
Apply comments

778049f97a48c8682ab3d38f0b69495a00f9ac1a authored over 3 years ago
Add support for inverse hyperbolic trignometric functions

Hlsl and wgsl don't support them directly so a polyfill is used taken
from the msl spec.

`asinh...

bbf3e465f3669507fac271f1481e8292d3abac2a authored over 3 years ago
Fix quad testcase parameters

644fa684bad4afa121bbc21c7ae26daba5ddd258 authored over 3 years ago
Fix some clippy suggestions

9050108a95d7a6cab6d2c4127e7b6817a15ed4e1 authored over 3 years ago
[glsl-in] Add support for radians and degrees builtins

8d6647d369b1d982b645ee729412ddae98053217 authored over 3 years ago
[glsl-in] Align child structs

846ea0ec0920498cbec9512806a23eccdfa6491b authored over 3 years ago
[glsl-in] Use power of two alignment for bad type in struct

Fixes #1243

0b0d2ab0f3dedd111fe129d68f2cae6d6c435f06 authored over 3 years ago
[glsl-in] Add support for more builtins

Fixes #1245

448ea65940354e9eea27bb8942886e47e117aacd authored over 3 years ago
[glsl-in] Cast grad sampling on shadow image into zero sampling

0dd32219c5491d16fe1b966419f545a1bc13a7bc authored over 3 years ago
[glsl-in] parse shared qualifier

a741e4b86dffb6839b5bdbec02c218e97987f3c9 authored over 3 years ago
[spv-out] Request Sample1D capability when texture_1d is used.

Fixes #1241.

2b08525ed12559381bf51ded31882a42d0e2fe06 authored over 3 years ago
[glsl-in] Allow dynamic indexing on constant variables

Previously we always set the lhs flag when lowering to generate a
pointer so that dynamic indexi...

ca405e3acf5c4785128c0a9ff5114f28bbef5289 authored over 3 years ago
[glsl-in] Allow expression statements to begin with ++ or --

This would otherwise cause the parser to enter an infinite loop.

Fixes #1232

fc47008d0c01fd1658626f6ed7fa4a7a695da3be authored over 3 years ago
[wgsl-in] Store expression position in context

f14817e8a091c464b5b309af9f313720faa7defd authored over 3 years ago
[wgsl-in] Add support for the dereference operator

02142d098082b610a4d28e2a7ab88d6746f7c87d authored over 3 years ago
[hlsl-out] Fix pointer-to-array arguments (#1240)

dfcb79880f3a42781efc72ae47ea291cbea8efec authored over 3 years ago
[hlsl-out] fix array arguments in functions

dad4b1bb107a7e4cb975b34da5cdf6b4fdfbc292 authored over 3 years ago
`ImageLoad` doc fix: `Depth` images can be multisampled, now.

6ab6d6fc46684b16bc493d06aab094361b0598f0 authored over 3 years ago
[spv-out] Generating constants is not, in fact, fallible.

cefaa396d490024b19b31a2fcf9410d5d2b5bb2c authored over 3 years ago
Fix WGSL vector splat constructor's type handling

Previously the constructor just used the type of the scalar argument
regardless of whether or no...

01250b85fe8f48b45100d4f03c740cb26334ee84 authored over 3 years ago
Release v0.6 version, changelog, and spirv update

7a45d73465d90a11fbfdb6892f5a15c050c6d3bb authored over 3 years ago
[glsl-in] Builtin redefinition and calls fixes

b05ca6e4036f3290ce091caaa903733b6afb7b55 authored over 3 years ago
[glsl-in] Only add builtins with double arguments if needed

4e181d6af4b758c11482b633b3a54b58bfbd4a59 authored over 3 years ago
Support num_workgroups builtin

79d899fe4ce4d3bfc20a26232a53f317e2ea6132 authored over 3 years ago
[hlsl-out] Implicitly transpose all matrices

73be8c745477042e129e4cb6981a2e4ad643e466 authored over 3 years ago
[hlsl-out] Fix reading from mat3

91ea6e3d83e9f92e12204c088da325cad6311b87 authored over 3 years ago
[wgsl-out] Write pointers types and loads

b11f094287e8044fe295aaf34ba3e6853345209f authored over 3 years ago
[wgsl-in] Parse function storage class

ba92640482ce4a80eb34299485f8f4b1984a0918 authored over 3 years ago
[msl-out] insert padding struct initialization

939e8f0a7b899893c6b8d47ff61dfab75bb666f1 authored over 3 years ago
[glsl-out] use common bake prefix

ab1e932e164ae2a567ba66ca04fd838c42f5cf3d authored over 3 years ago
[msl-out]: avoid inner structure for run-time array sizes

c39810233274b0973fe0fcbfedb3ced8c9f685b6 authored over 3 years ago
[spv-in] work around storage image access

ec64eaae6ba511d7f4b6635ba46df11558d50224 authored over 3 years ago
[msl-out] pass-through workgroup storage

220081c4b2c9064c960c0eb37c1d3ea21d9b5411 authored over 3 years ago
[spv-in] allow float16 and float64

8e0295178c33f154d8b6d9006ae5b0a72703a13f authored over 3 years ago
[spv-out] Creating SPIR-V types is not, in fact, fallible.

There's no need for functions that construct SPIR-V types to be fallible, or for
their callers t...

4b1363e122abf71d15e374ff384dba7ce857ad84 authored over 3 years ago
[spv-in] Parse OpNoLine

c6a6afdf370585001de53490fe78bf0ecab37346 authored over 3 years ago
[wgsl-in] parse identifiers before builtin function calls

7613798aed17c83f55375c91aafe53ab55106444 authored over 3 years ago
Move case-closing-brace writer inside cases loop

d7af2a84b7508f58684279db415cc07998833484 authored over 3 years ago
[spv-in] treat Grad on depth textures as level 0

2dfcb7fcf0ba186bb7a11ffdf630a72f6156ac93 authored over 3 years ago
hlsl-out: relational expressions

0d829d6bb0565986407bc4fb438ad2500e4b608a authored over 3 years ago
Fix atomics in workgroup storage

5415d8c7c44cd95608aa6a0907b0a03a0aca86b1 authored over 3 years ago
Validate that SampleLevel::Exact isn't used for comparisons

27e4ba59e4918494fca1e4cc2222a2dfdaa4a888 authored over 3 years ago
[hlsl-out] basic support for pointer arguments

e59582469c586b99f025fa99508964d9026746b9 authored over 3 years ago
[hlsl-out] reorder fields when composing structs

69b70f8cc3acb988fa3f34d6a615c8c02259428c authored over 3 years ago
Fix deserialization of arenas

1907a92928933f312da10daad85bdc6de7d5f9a9 authored over 3 years ago
[hlsl-out] re-order interface struct fields (#1189)

0feea58a3420b1c2823ebcdbed2d0c1aa207d658 authored over 3 years ago
Fix bitflags at 1.2 (#1190)

d55645ac1ef354d1ad016dff91ac8576d9cf1e5b authored over 3 years ago
[spv-out] Writer::write_texture_coordinates: Fix result type. (#1188)

Some SPIR-V texture access instructions take coordinates as integers, others as
floats. The typ...

47b9f4a2e51a978cb77780fe492c83fbe3ce1f02 authored over 3 years ago
Proof of concept for "span" feature, with WGSL & GLSL parsing augmented. (#1092)

* Proof of concept for "span" feature, with WGSL parsing augmented.

* Review:

1) add_span ...

fd7011666835bbe8e3c57e8c8a134ec56e662f87 authored over 3 years ago
[spv-out]: Use OpCompositeConstruct's schmear behavior.

In `back::spv::Writer::write_texture_coordinates`, OpCompositeConstruct can
concatenate scalars ...

e2fc7ffd037ab25d7452fe7bcbf67f0b9fff22f9 authored over 3 years ago
[spv-out]: De-indent write_texture_coordinates with an early return.

No intended change in behavior.

172f6bf62fcdb31bd492b2ed438070a1037bdcc3 authored over 3 years ago
Separate enum for atomic binary operations

1121a815ac156f62e5ba1035dc422fb11d9016f2 authored over 3 years ago
[wgsl-out] atomic load/stores, [glsl-out] revert the prefix

67dd604b0c44fe5c436182a3b8325173d8c001b1 authored over 3 years ago