Commit Graph
100 Commits
Author SHA1 Message Date
Dzmitry Malyshau f3891fed33 hal/dx12: improve RowPitch computation (#2409) 2022-01-20 19:59:25 -05:00
Dzmitry Malyshau 76814a83a2 msl: inject point size if needed 2022-01-19 11:33:14 -05:00
Dzmitry Malyshau 4bfa2722f7 hal: limit binding sizes to i32 2022-01-06 12:37:26 -05:00
Dzmitry Malyshau 55cbbdea62 metal: fix surface texture clear view 2021-12-31 11:41:00 -05:00
Dzmitry Malyshau 2738ad80b9 msl: fix packed vec access (#1634) 2021-12-28 05:13:13 +00:00
Dzmitry Malyshau b1ab59925d msl: fix packed float support (#1630) 2021-12-27 02:57:47 +00:00
Dzmitry Malyshau f2832b8999 hlsl: support arrays of matrices (#1629) 2021-12-27 00:30:57 +00:00
Dzmitry Malyshau 54f20bedef hal/dx12: Fix UMA check 2021-12-19 00:09:35 -05:00
Dzmitry Malyshau ec1d022a75 Error scopes API (#2299) 2021-12-17 04:39:48 +00:00
Dzmitry Malyshau 18f644e19b hal: check for surface caps in the example (#2298) 2021-12-16 21:41:45 +00:00
Dzmitry Malyshau 1e593a6bd3 Trace push/pop debug group on command encoder (#2294) 2021-12-15 17:48:48 +00:00
Dzmitry Malyshau 3960658529 Remove block decorations (#2292) 2021-12-15 12:29:37 -05:00
Dzmitry Malyshau 0e5892fa04 Update naga with Metal bounds checks (#2276) 2021-12-15 04:59:06 +00:00
Dzmitry Malyshau 6c2e8edb64 hal/gles: support ASTC, fix WebGL extensions for compressed formats (#2289) 2021-12-14 15:25:57 +00:00
Dzmitry Malyshau f8beffe289 hal/dx12: expose WARP as a fallback adapter (#2290) 2021-12-14 15:05:28 +00:00
Dzmitry Malyshau ca10f8c456 Fix documentation for dynamic offsets order 2021-12-07 10:40:34 -05:00
Dzmitry Malyshau f4bdf5c9a7 Remove --frozen from Deno instructions 2021-12-06 11:42:40 -05:00
Dzmitry Malyshau e867a7434c Let GLES/Angle path compile on macOS 2021-12-05 17:09:36 -05:00
Dzmitry Malyshau ab28009d80 Angle support on Windows
Also remove the macros module in favor of generic functions.
2021-12-05 17:09:36 -05:00
Dzmitry Malyshau 0df66719ca Switch WebGL limits max_uniform_buffers_per_shader_stage to 11 2021-11-30 11:44:37 -05:00
Dzmitry Malyshau b32dcbb041 hal/gles: force unbind samplers (#2226) 2021-11-29 10:08:11 -05:00
Dzmitry Malyshau 62b036b55b hal/gles: fix setting filtering on integer textures (#2222) 2021-11-28 23:04:43 -05:00
Dzmitry Malyshau 5f6c067815 hal/vulkan: use multiple semaphores in a relay (#2212) 2021-11-25 15:44:33 -05:00
Dzmitry Malyshau 5864b776a4 Refactor command buffer states to ensure proper cleanup on errors (#2208) 2021-11-23 15:57:13 -05:00
Dzmitry Malyshau 2b38439f65 Add INDIRECT_FIRST_INSTANCE feature (#2206) 2021-11-23 10:01:07 -05:00
Dzmitry Malyshau ddac6a369b Validate min_binding_size at draw time (#2195) 2021-11-20 16:15:54 -05:00
Dzmitry Malyshau fca82ddd7e Populate sampling pairs for validation (#2188) 2021-11-18 19:06:24 -05:00
Dzmitry Malyshau 1ff70329f1 Refactor texture view non-referenced resources (#2184) 2021-11-15 15:58:47 -05:00
Dzmitry Malyshau f25a45f4e2 Evolve depth clamping into clip control (#2171) 2021-11-10 16:55:27 -05:00
Dzmitry Malyshau 27aae2a2a2 Update naga to eda078d (#2172) 2021-11-10 16:06:32 -05:00
Dzmitry Malyshau 8bc3aa824b Refactor namer scheme, fix trailing digits (#1510) 2021-11-09 09:24:41 -05:00
Dzmitry Malyshau 7e00abf651 Manually implement Error for ShaderError (#2160) 2021-11-06 17:17:08 -04:00
Dzmitry Malyshau 693bc58bdd Validate device descriptor before opening (#2159) 2021-11-06 17:09:52 -04:00
Dzmitry Malyshau 2755cd08eb Add clippy non_send_fields_in_send_ty (#2156) 2021-11-05 08:57:09 -04:00
Dzmitry Malyshau 28c45321e5 hlsl: respect array stride in storage buffers (#1507) 2021-11-03 22:44:46 -04:00
Dzmitry Malyshau ca7ca749cd Update naga to 323999f, report pretty errors in shader validation (#2141) 2021-11-01 16:57:33 -04:00
Dzmitry Malyshau 323999fcb9 Fix span includes into function validation (#1500) 2021-10-31 23:58:58 -04:00
Dzmitry Malyshau 07b02e694d Update naga to 9d2b357 (#2140) 2021-10-31 23:29:49 -04:00
Dzmitry Malyshau fd5085277a Switch the constant in bevy-pbr to avoid display incosistencies 2021-10-23 23:39:49 -04:00
Dzmitry Malyshau a03f23c132 Allow new clippy::if_same_then_else 2021-10-23 23:39:49 -04:00
Dzmitry Malyshau 29282a3981 hal/egl: don't assume EGL-1.5 if upcast works (#2105) 2021-10-22 09:45:51 -04:00
Dzmitry Malyshau 3ec17cf9ed Fix smooth buffer barrier (#2104) 2021-10-21 22:11:41 -04:00
Dzmitry Malyshau 721875798f hal/gles: allow presenting with Android emulator (#2097) 2021-10-21 22:00:18 -04:00
Dzmitry Malyshau 003b83f6ac hal/mtl: disable fragment r/w buffers in fragment shaders on macOS 10.11 (#2102) 2021-10-21 11:53:57 -04:00
Dzmitry Malyshau c4ab9a3956 hlsl: Fix mat3 stores (#1467) 2021-10-18 01:04:06 -04:00
Dzmitry Malyshau f8ecebb43d hal/gles: properly check for buffer allocation 2021-10-16 10:45:35 -04:00
Dzmitry Malyshau 41c595cfcf Hold BGL alive by BG (#2075) 2021-10-15 11:40:49 -04:00
Dzmitry Malyshau ec8413dfcb Build fixes after a bad merge (#2071) 2021-10-14 19:24:30 -04:00
Dzmitry Malyshau 47fb0efb2c ETC2 texture format refactor (#2064) 2021-10-13 13:42:44 -04:00
Dzmitry Malyshau 4cb91f2c98 cli: option to keep coordinate space unchanged (#1460) 2021-10-13 08:21:29 -04:00
Dzmitry Malyshau 5441556988 Release wgpu-hal-0.11.2 2021-10-12 12:22:49 -04:00
Dzmitry Malyshau c5244c9ffc hal/dx12: fix cube array views 2021-10-12 12:22:49 -04:00
Dzmitry Malyshau 3b49981111 Bump version to 0.7.1 2021-10-12 11:44:13 -04:00
Dzmitry Malyshau ee450c1ee4 Fix float-bool casts in MSL, SPV, and HLSL backends (#1459) 2021-10-12 11:42:20 -04:00
Dzmitry Malyshau 2c9a7dfc2a hal/gl: fix vertex buffers with non-zero first instance 2021-10-12 10:00:34 -04:00
Dzmitry Malyshau 60bb2aaa6b hal/gles: work around the clear shader bug 2021-10-09 16:33:45 -04:00
Dzmitry Malyshau d48bc62826 hal/vk: check for NV optimus 2021-10-09 16:33:45 -04:00
Dzmitry Malyshau 44f488efed gles: fix querying storage limits 2021-10-09 16:33:45 -04:00
Dzmitry Malyshau 713f7fd7f2 Changelog update for 0.11 2021-10-07 19:15:49 -04:00
Dzmitry Malyshau 016b319b38 Manifests update for 0.11 2021-10-07 19:15:49 -04:00
Dzmitry Malyshau 3a2f7e611e Release 0.7 (#1455) 2021-10-07 18:04:30 -04:00
Dzmitry Malyshau 85fbbbbbf3 Cargo lock update, limits fix (#2033) 2021-10-07 16:57:33 -04:00
Dzmitry Malyshau dfa4948033 Update naga to 0e3fbc8 2021-10-07 08:32:01 -04:00
Dzmitry Malyshau 5092fb7ea5 Refactor presentation to be explicit 2021-10-06 17:02:10 -04:00
Dzmitry Malyshau 943e321bc6 Fix lazy CI for snapshots 2021-10-05 21:58:39 -04:00
Dzmitry Malyshau 4054d82454 Bring back the root lockfile 2021-10-04 08:47:13 -04: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
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
Dzmitry Malyshau 004a12e21d [spv-out] option to clamp frag_depth (#1431) 2021-09-27 23:00:10 +00:00
Dzmitry Malyshau 21324b8fea Update WGSL grammar for pointer access. (#1312)
* Update WGSL grammar for pointer access.

Comes with a small test, which revealed a number of issues in the backends.

* Validate pointer arguments to functions to only have function/private/workgroup classes.

Comes with a small test. Also, "pointer-access.spv" test is temporarily disabled.
2021-09-27 18:49:28 -04:00
Dzmitry Malyshau a7aa72ba1c Check for color target count in bundle creation 2021-09-27 11:11:10 -04:00
Dzmitry Malyshau 13b374ef5b Update the array layer limit to 256 2021-09-27 09:24:40 -04:00
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
Dzmitry Malyshau 115d170584 wgsl-out: update reserved words 2021-09-21 13:51:12 -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
Dzmitry Malyshau d50e74747d Panic with an error by default 2021-09-17 10:20:18 -04:00
Dzmitry Malyshau c8436de1ec Force point size output on Vulkan 2021-09-15 19:15:23 -04:00
Dzmitry Malyshau c4c359a43d Only run CTS check if 'needs testing' label is added 2021-09-14 14:41:47 -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 db80ed4fa9 Fix warnings in snapshots and spv-in 2021-09-14 09:46:25 -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 807accd7de wgsl-in: require storage class to be given 2021-09-13 15:44:05 -04:00
Dzmitry Malyshau 447d612f88 hal/metal: fix the back-face stencil state 2021-09-13 10:17:19 -04:00
Dzmitry Malyshau 3afeb9a53f hal/metal: fix storage binding size units 2021-09-12 17:41:46 -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
Dzmitry Malyshau 37288a657f Avoid AtomicU64 for it not being portable 2021-09-10 10:34:07 -04:00
Dzmitry Malyshau bbb9968297 Enable WebGPU CTS on CI 2021-09-09 22:21:04 -04:00
Dzmitry Malyshau 7681f4a21f msl-out: fix as_type expressions 2021-09-09 21:09:20 -04:00
Dzmitry Malyshau 135df311b1 hlsl: avoid using texture keyword 2021-09-09 16:02:17 -04:00
Dzmitry Malyshau ca6fd97c62 Codecoverage CI fix 2021-09-09 12:44:24 -04:00
Dzmitry Malyshau 83abe2a06d Still close the encoder on error 2021-09-09 09:43:38 -04:00