Commit Graph

3331 Commits

Author SHA1 Message Date
Connor Fitzgerald
c3d906856f Add spans to provide more information profile gaps 2021-10-03 22:54:15 -04:00
Connor Fitzgerald
d8fd9dd5c7
Merge pull request #2015 from Onirik79/patch-1
minor typo: folowing -> following
2021-10-03 13:16:25 -04:00
Onirik79
b9b499ae5a
minor typo: folowing -> following 2021-10-03 18:50:39 +02:00
Dzmitry Malyshau
1ee6036f44 Implement software adapter selection 2021-10-01 17:22:51 -04:00
Dzmitry Malyshau
97d6db4d18 Allow if/panic in wgpu-hal 2021-10-01 16:22:51 -04:00
Connor Fitzgerald
075da23d0d
Merge pull request #2012 from memoryruins/update-doc-mentions 2021-10-01 15:29:49 -04:00
memoryruins
13a0baaca5 Update mentions of gfx-hal to wgpu-hal 2021-10-01 13:50:19 -04:00
Connor Fitzgerald
b679342d9e Support descriptor arrays shorter than binding length 2021-09-30 14:11:51 -04:00
Dzmitry Malyshau
8fa3ca731b hal/gl: disable presentation on intel+nv 2021-09-29 13:32:09 -04:00
Dzmitry Malyshau
96ed52f4a7 Check Deno build on CI 2021-09-28 11:43:43 -04:00
Dzmitry Malyshau
acd983ed5e
Update matrix icons 2021-09-28 08:50:09 -04:00
João Capucho
9bc5908492
Add method to create shader modules without runtime checks (#1978)
* Add method to create shader modules without runtime checks

* Use opaque struct to represent shader bound checks
2021-09-27 19:51:44 +00:00
Dzmitry Malyshau
a7aa72ba1c Check for color target count in bundle creation 2021-09-27 11:11:10 -04:00
Devin Brite
dbfdbf4e32
Move validation from Device::create_texture_from_hal() to Device::create_texture() (#2001)
* Move validation from `Device::create_texture_from_hal()` to `Device::create_texture()`

---

Users encountered a segfault upon creating a texture when mip_level_count was set to 0 with (at least) Vulkan.
This is due to wgpu's validation taking place after the API's texture is created.

This change moves wgpu's validation to before the API's texture is created, introducing a friendly error instead of a segfault.

* Make `Device::create_texture_from_hal()` infallible

* run cargo fmt
2021-09-27 13:26:36 +00:00
Dzmitry Malyshau
13b374ef5b Update the array layer limit to 256 2021-09-27 09:24:40 -04:00
Matt Lacey
cc8b00f1d4 Adds white background to main logo for better visibility on black backgrounds 2021-09-27 10:50:30 -02:30
Dzmitry Malyshau
089294fc51 Skip mismatched epochs in the remove_abandoned check 2021-09-25 15:40:21 -04:00
Dzmitry Malyshau
180e3e3576 Fix write_texture for array textures 2021-09-23 10:49:15 -04:00
Connor Fitzgerald
075b52ebfa
Merge pull request #1987 from cwfitzgerald/fix-renderdoc-captures-master 2021-09-21 18:48:49 -04:00
Connor Fitzgerald
ff8f258b95
Fix VK and GL renderdoc captures 2021-09-21 18:41:16 -04:00
Dzmitry Malyshau
08ff76f150 Align buffer usage end to 4 2021-09-20 15:22:18 -04:00
Dzmitry Malyshau
be6898f166 Make "Unexpected varying type" a bit less annoying 2021-09-20 12:07:01 -04:00
Dzmitry Malyshau
87c8680ffd hal/vk: Enable image robustness where available 2021-09-19 15:18:37 -04:00
Mike Welsh
3cabd09392 web: Return None if GPU.requestAdapter returns null 2021-09-19 16:06:12 -02:30
Dzmitry Malyshau
d50e74747d Panic with an error by default 2021-09-17 10:20:18 -04:00
Connor Fitzgerald
a3d4037fb5 Enable vulkan testing 2021-09-17 09:17:15 -04:00
Dzmitry Malyshau
c8436de1ec Force point size output on Vulkan 2021-09-15 19:15:23 -04:00
Connor Fitzgerald
e0a6bffd5c Revamp the readme 2021-09-15 14:46:01 -04:00
Jamen Marz
5b133c34ec Add a note that copying within the same buffer panics 2021-09-15 11:01:37 -04:00
Connor Fitzgerald
a5e6e8f9cc Split out CTS to its own workflow 2021-09-15 10:26:29 -04:00
Connor Fitzgerald
376ed9ea9c
Merge pull request #1968 from mattlacey/master
Adds background to images used in README
2021-09-15 00:47:32 -04:00
Matt Lacey
92598e3875 Adds background to images used in README
Images weren't legible when using GitHub in dark mode as they became black on
dark grey, so added a white background to ensure legibility
2021-09-15 14:02:58 +10:00
Connor Fitzgerald
4ce884b04b Remove monocodus config 2021-09-14 16:16:47 -04:00
Dzmitry Malyshau
c4c359a43d Only run CTS check if 'needs testing' label is added 2021-09-14 14:41:47 -04:00
Connor Fitzgerald
af960b91f4
Merge pull request #1956 from cwfitzgerald/ci-improvements
Improve CI testing code
2021-09-14 13:47:32 -04:00
Connor Fitzgerald
7766ed194b
Improve CI testing code 2021-09-14 13:34:07 -04:00
Dzmitry Malyshau
300f7d2e8c Expose query resolve offset and respect it in the mipmap example 2021-09-14 09:47:15 -04:00
Dzmitry Malyshau
392f904465 hal/metal: bump the maximum command buffer count 2021-09-14 09:12:00 -04:00
Dzmitry Malyshau
bc91048216 Update cts to a44186d, enable blending tests 2021-09-14 09:11:29 -04:00
Dzmitry Malyshau
a7c7c9f38e Move Deno out of the workspace 2021-09-13 23:57:33 -04:00
Dzmitry Malyshau
60142b56da List CTS tests to run 2021-09-13 19:44:38 -04:00
Dzmitry Malyshau
447d612f88 hal/metal: fix the back-face stencil state 2021-09-13 10:17:19 -04:00
Connor Fitzgerald
e8c236cd71
Merge pull request #1945 from kvark/view-parent
Store a reference to the device in texture views
2021-09-12 20:22:51 -04:00
Dzmitry Malyshau
3afeb9a53f hal/metal: fix storage binding size units 2021-09-12 17:41:46 -04:00
Connor Fitzgerald
ba2f4bb557
Merge pull request #1949 from UE2020/patch-1 2021-09-12 17:19:30 -04:00
Aspect
195cfa1b36
Fix typo in documentation for Rg8Sint texture format 2021-09-12 16:42:57 -04:00
xacrimon
fc1cb5eb20 feedback 2021-09-12 11:03:05 -04:00
Dzmitry Malyshau
abe41ccf9c Fix stencil ops 2021-09-12 10:37:17 -04:00
Dzmitry Malyshau
95f4122b22 Store a reference to the device in texture views 2021-09-12 10:20:16 -04:00
Mike Welsh
34c6d3a7f3 web: Fix spirv-web feature for latest naga 2021-09-12 00:06:58 -04:00