Commit Graph

3613 Commits

Author SHA1 Message Date
David A Roberts
46eea16335 Generate 1x1 mip level (#2551)
Just a minor off-by-one error that meant the final 1x1 mip level wasn't being generated. I don't think it makes any substantial difference to the rendered result.
2022-03-23 21:19:41 -04:00
Jim Blandy
1be43d8073 Document the gfx_select! macro. (#2555) 2022-03-23 19:35:42 -04:00
Jim Blandy
e821e185a1 Simplify implementation of RefCount and MultiRefCount. (#2548)
`RefCount::rich_drop_inner` is no longer used by anything other than `RefCount::drop`. It's simpler to just handle it directly in `drop`.

`MultiRefCount` has no need to heap-allocate the count, since it's
never cloned.
2022-03-21 16:40:11 -07:00
Alphyr
b0da1a2c1d Switch from cgmath to glam in examples (#2544) 2022-03-21 10:32:59 -04:00
Fichtelcoder
36877c3749 Fix resizing behaviour of hello-triangle example (#2543) 2022-03-21 01:21:51 +00:00
Dzmitry Malyshau
326af60df8 Expect shadow example to pass on Vulkan (#2541) 2022-03-19 05:58:14 +00:00
Leo Kettmeir
cd6eb2db36 Merge pull request #2539 from crowlKats/update_deno
Update deno_webgpu
2022-03-18 22:31:10 -07:00
Igor Shaposhnik
c5d5dbc7eb [naga] Update naga with new struct members separator 2022-03-16 20:42:21 -07:00
Jinlei Li
ba07db90c8 metal: improve push | pop_debug_marker 2022-03-14 22:21:46 -07:00
Connor Fitzgerald
73f42352f3 Dx11 Backend (#2443) 2022-03-12 17:14:18 +00:00
skierpage
c314c55788 Correct program output ("Steps", not "Times") (#2535)
Since 985c1feb4 , hello-compute has output "Steps: ...", not "Times: ..."
2022-03-11 19:32:54 -05:00
Layl
3c85fe6782 Fix incorrect filtering used in mipmap generation (#2525) 2022-03-10 20:14:17 +00:00
Liam Murphy
0ac9ce0026 Fix wasm examples failing to compile (#2524) 2022-03-06 04:47:24 +00:00
Jinlei Li
d3c210160f metal: refactor texture_format_capabilities function 2022-03-02 22:23:48 -08:00
Jinlei Li
810dc5aa27 gl | metal: updates the upper bounds of the extends of SurfaceCapabilities 2022-03-01 21:05:48 -08:00
Jinlei Li
12f68ff15b metal: refactor PrivateCapabilities creation 2022-03-01 21:05:48 -08:00
Jinlei Li
c4e9797921 metal: roll metal-rs, fix read_write_texture_tier 2022-03-01 21:05:48 -08:00
João Capucho
e672974d9d gles: Fix texture description for bgra formats (#2520) 2022-03-01 14:43:57 -05:00
Connor Fitzgerald
e4553d7e16 Update test status readme 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
b1b02fb239 Round up clear texture tests to block size 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
36defcfdc2 Expand skybox outlier count due to llvmpipe 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
926bf848cf hal/gles: Fix compressed texture stride calculations 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
3f30a8011f Prevent uncaught validation error on water example 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
4e44288677 Install vulkan sdk on CI 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
6979c7fe4c Make texture format info into an in-code table 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
129c32ffc3 Prevent 3D compressed textures 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
4d7f6eb07a Implement validation canary 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
3841353f13 Re-enable GL tests in CI 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
52badfb63c Mark expectant test failures on ANGLE 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
7241dae871 Fill out GLES texture capability table 2022-02-28 21:38:52 -08:00
Connor Fitzgerald
b61939650c Add DownlevelFlag to prevent copies between Depth32 Textures 2022-02-28 21:38:52 -08:00
Simon Johansson
3623f5020d Rename ci.txt to ci.yml (#2510) 2022-02-25 22:54:03 +00:00
Connor Fitzgerald
58bf05f046 Support flipped Y on VK 1.1 devices (#2512) 2022-02-25 22:47:59 +00:00
Connor Fitzgerald
59ca27d08d Wrap all validation logs with catch_unwinds (#2511) 2022-02-25 22:42:43 +00:00
Connor Fitzgerald
df50028e49 Fix up some downlevel capabilities 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
3a5ca637d8 Update ANGLE instructions in the PATH 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
e9b13b74c4 Make tests properly request their own limits 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
80da80b497 Move limit comparison logic into wgpu-types for easy reuse 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
283a9fceeb tests/gles: properly label tests that don't run without some downlevel features 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
b87e50feae Rename get_downlevel_properties to get_downlevel_capabilities 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
30dbc1d01f hal/gles: support bcn textures 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
8cf39030d1 hal/gles: improve gles texture format conversions 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
484c7d2904 hal/gles: fix handling of rows_per_image for compressed texture uploads 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
1e403e12a3 Always check texture features if we're running on a downlevel platform 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
476b6a1177 Always enable vk and gl in wgpu-info 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
e39cf7a11f Typo in readme 2022-02-24 23:52:41 -05:00
Jinlei Li
dd4a5396d6 metal: simplify surface fn dimensions() 2022-02-23 23:14:32 -05:00
Jinlei Li
6595188e8e metal: set max_buffer_size by the correct physical device limits, M1 Max can support up to 36GB 2022-02-23 23:14:32 -05:00
Connor Fitzgerald
87102ccdf5 Improve shader support documentation 2022-02-22 22:32:23 -05:00
Jinlei Li
1bd85a835a Roll naga from 8e2e39e to a45b9a6 (27 revisions) 2022-02-22 15:45:05 -05:00