Zoxc
095b46dbdb
Fix sRGB issues with glBlitFramebuffer on WGL ( #4273 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-20 21:04:09 +00:00
Zoxc
e918031201
Use the device OpenGL context for WGL surfaces ( #4271 )
2023-10-20 15:45:43 -04:00
dependabot[bot]
d876e0d844
Bump thiserror from 1.0.49 to 1.0.50 ( #4269 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 23:00:12 -04:00
Teodor Tanasoaia
19209b67d2
[wgsl-in] consolidate type resolution logic in a few macros ( #2571 )
...
* [wgsl-in] consolidate type resolution logic in a few macros
* rename + docs
* reorder macros (avoids doc linking not working)
2023-10-19 13:20:02 -07:00
teoxoy
29ca53148d
fix OOB typifier indexing
2023-10-19 09:15:28 -07:00
Connor Fitzgerald
543f921639
GPU Test Framework ( #3873 )
2023-10-19 12:06:42 -04:00
Jim Blandy
af26d77ce4
[wgsl-in] Abstract out ExpressionContext::as_const_evaluator.
2023-10-19 17:56:51 +02:00
Jim Blandy
334f745366
Make validation reject 64-bit floating-point literals.
...
Make expression validation and constant expression validation reject
`Literal` expressions containing `F64` literals unless the `FLOAT64`
capability is enabled.
2023-10-19 17:55:04 +02:00
Jim Blandy
1bb84aef0b
rename validate_literal to check_literal_value
2023-10-19 17:55:04 +02:00
Jim Blandy
860c200469
Give Validator::check_width its own error type, WidthError
.
...
Later changes will use `check_width` in new functions. Separating out
`WidthError` will make it easier to incorporate `check_width`'s
results into its new callers'.
2023-10-19 17:55:04 +02:00
teoxoy
5b65f11e3c
[refactor] make use of resolve_type
wherever possible
2023-10-18 12:25:36 -07:00
dependabot[bot]
75989192a9
Bump rustix from 0.37.19 to 0.37.25 in /xtask ( #4264 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 15:07:33 -04:00
dependabot[bot]
1bf8bfe209
Bump rustix from 0.38.4 to 0.38.19 ( #4265 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 15:07:15 -04:00
Zoxc
2b985e2fad
Add WGL context creation and OpenGL support ( #4248 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-18 18:40:33 +00:00
Teodor Tanasoaia
ead6348b43
Set the new naga Capabilities::CUBE_ARRAY_TEXTURES
( #4263 )
2023-10-18 12:13:21 -04:00
Nicolas Silva
8c03aa85e6
Make it possible to filter labels out ahead of wgpu-hal ( #4246 )
...
* Make it possible to filter labels out.
Co-authored-by: Jim Blandy <jimb@red-bean.com>
2023-10-18 17:45:59 +02:00
Teodor Tanasoaia
e25280df93
[glsl/spv-out] Cull functions that should not be available for a given stage ( #2531 )
2023-10-18 12:50:52 +00:00
Connor Fitzgerald
3e307a862f
Skip Integrated WARP ( #4259 )
2023-10-18 14:08:14 +02:00
teoxoy
cf113bdb53
[spv-in] translate ModfStruct & FrexpStruct to their IR equivalents
2023-10-17 21:53:26 -07:00
teoxoy
4b7a555e9f
[glsl-in] disable modf & frexp
2023-10-17 21:53:26 -07:00
teoxoy
5a0fb630da
[valid] add Capabilities::CUBE_ARRAY_TEXTURES
2023-10-17 21:51:54 -07:00
Teodor Tanasoaia
de9913f476
[spv-in] remove spirv::Capability::ImageMSArray
...
as we don't support multisampled storage textures at all
2023-10-17 21:50:32 -07:00
teoxoy
2f6a32f5f9
[spv-in] remove spirv::Capability::InterpolationFunction
...
as we don't support the `InterpolateAtCentroid`, `InterpolateAtSample`, or `InterpolateAtOffset` `GLSL.std.450` extended instructions
2023-10-17 21:50:32 -07:00
teoxoy
7ee474b4a5
[spv-in] remove duplicated capabilities
2023-10-17 21:50:32 -07:00
Jim Blandy
da0b3fe685
Let the "strict_asserts"
feature enable Token::root
assertions. ( #4258 )
2023-10-17 23:00:39 -04:00
Nicolas Silva
7461781a59
Make deduplication work in compute_pipeline_get_bind_group_layout
2023-10-17 18:04:12 -07:00
Nicolas Silva
a848648943
Fix locking order in render_pipeline_get_bind_group_layout
2023-10-17 18:04:12 -07:00
Teodor Tanasoaia
a842019b34
Vulkan API version refactors ( #4252 )
2023-10-17 19:20:56 -04:00
Teodor Tanasoaia
c07d889f1b
Update naga
to 0.13.0@git:6854b0ab4f105131bfb87704927abec3fe366ef9 ( #4254 )
2023-10-17 15:49:12 +00:00
dependabot[bot]
96127c572f
Bump async-executor from 1.5.4 to 1.6.0 ( #4249 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 23:48:06 -04:00
teoxoy
6854b0ab4f
disallow ptr to workgroup fn arguments
2023-10-16 19:03:14 -07:00
teoxoy
ea83f62a94
[msl-out] add min version check for ray tracing
2023-10-16 19:02:58 -07:00
teoxoy
89ab5902b2
[msl-out] add min version check for primitive_id
2023-10-16 19:02:58 -07:00
teoxoy
46c472731f
[msl-out] add min version checks for binding arrays
2023-10-16 19:02:58 -07:00
teoxoy
f4a43b1bf0
[msl-out] add min version check for read-write storage textures
2023-10-16 19:02:58 -07:00
teoxoy
0c63be8904
[msl-out] add min version check for reverse_bits
, extract_bits
& insert_bits
2023-10-16 19:02:58 -07:00
teoxoy
a7146b07a1
[msl-out] add min version check for base_instance
& instance_id
2023-10-16 19:02:58 -07:00
teoxoy
0340c2e685
[msl] add undocumented checks
2023-10-16 19:02:58 -07:00
teoxoy
0cfd2213cc
[msl-out] remove min version check on storage address space
2023-10-16 19:02:58 -07:00
Jim Blandy
68ce1ebfa2
[glsl-in, glsl-out] Fix warnings about redundant doc link targets.
2023-10-16 17:28:56 -07:00
teoxoy
d71f2541a3
remove IsFinite
& IsNormal
completely
2023-10-16 16:24:52 -07:00
teoxoy
04562dea26
Split UnaryOperator::Not
into UnaryOperator::LogicalNot
& UnaryOperator::BitwiseNot
...
since it should not be valid to use the logical and bitwise not operators interchangeably
also, don't allow `UnaryOperator::Negate` to operate on booleans (no frontend/backend supports this)
2023-10-16 16:22:06 -07:00
teoxoy
841d360f06
[valid] avoid OOM with large sparse resource bindings
2023-10-16 14:23:05 -07:00
dependabot[bot]
2f3d17cd73
Bump serde from 1.0.188 to 1.0.189 ( #4243 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 10:20:01 -04:00
dependabot[bot]
8c7bdaed30
Bump bitflags from 2.4.0 to 2.4.1 ( #4244 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 10:19:38 -04:00
Brad Werth
5034756948
Use DeviceError::Lost to represent device loss. ( #4238 )
2023-10-14 00:02:08 -04:00
teoxoy
ad7044c230
[gles] make is_layered_target
more robust
2023-10-13 23:59:30 -04:00
teoxoy
b5e578bd0b
[gles] consolidate z offset selection
2023-10-13 23:59:30 -04:00
teoxoy
8e42ef002c
[gles] consolidate cubemap face selection
2023-10-13 23:59:30 -04:00
teoxoy
6044c5443c
[gles] simplify cubemap tracking
2023-10-13 23:59:30 -04:00