bors[bot] and Alex S
cfda54f108
Merge #1528
...
1528: Support TEXTURE_SPECIFIC_FORMAT_CAPABILITIES for rendertargets. r=kvark a=ElectronicRU
**Description**
With TEXTURE_SPECIFIC_FORMAT_FEATURES enabled, one would assume that render pipeline creation would use extended features
for color/depth-stencil render targets. However, it does not. This aims to fix that discrepancy.
Co-authored-by: Alex S <alex0player@gmail.com >
2021-06-20 06:14:42 +00:00
Alex S
066bd7e647
Support TEXTURE_SPECIFIC_FORMAT_CAPABILITIES for rendertargets.
2021-06-20 05:57:55 +03:00
Gordon-F
2873ac32d9
Remove MPL 2.0 header in files
2021-06-19 21:06:08 +03:00
bors[bot] and Alex S
1d2efb43bc
Merge #1511
...
1511: Added storage texture array support. r=kvark a=ElectronicRU
**Description**
Arrays of storage images (*f*image*n*D in GLSL parlance) should now be supported.
I also took the liberty to refactor texture format checking a bit,
and tighten up sampled texture support detection for Metal as well.
**Testing**
Not completely sure what's the proper testing approach here, open to suggestions.
Co-authored-by: Alex S <alex0player@gmail.com >
2021-06-18 21:38:54 +00:00
Alex S
9f6f4da4ba
blindsided by clippy
2021-06-18 19:31:12 +03:00
Alex S
52fab481e6
Added storage texture array support.
...
I also took the liberty to refactor texture format checking a bit,
and tighten up sampled texture support detection for Metal as well.
2021-06-18 19:20:37 +03:00
Dzmitry Malyshau
9c8d4dbfa6
Hot patch for temp_suspected tracking
2021-06-18 10:59:47 -04:00
Dzmitry Malyshau
80ab18404e
Change the order to suspect temporary resources earlier
2021-06-18 02:49:46 -04:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
c53addac8a
hal/vk: draws and dispatches. Refactor query set descriptor
2021-06-16 14:17:37 -04:00
Dzmitry Malyshau
668fedd1c0
hal: rename aux to util
2021-06-15 01:33:19 -04:00
Dzmitry Malyshau
9d85602349
hal: re-architect command encoding and pooling
2021-06-14 13:30:28 -04:00
Dzmitry Malyshau
c2bb2d5dfc
Experimental command pool API
2021-06-14 01:58:09 -04:00
Dzmitry Malyshau
61e2e242cd
hal/vk: textures and samplers
2021-06-11 19:14:41 -04:00
Dzmitry Malyshau
faf8f7e890
Simple API for coherent mapping
2021-06-10 16:05:44 -04:00
Dzmitry Malyshau
d88aa99997
Fix rows-per-image treatment, clippy warnings
2021-06-10 15:43:21 -04:00
Dzmitry Malyshau
006f8abbba
build and clippy fixes, command buffer cleanup
2021-06-10 12:44:29 -04:00
Dzmitry Malyshau
782c72d32c
hal/mtl: queue
2021-06-10 10:54:06 -04:00
Dzmitry Malyshau
3109b1b63d
hal/mtl: most of the command encoding
2021-06-10 02:31:31 -04:00
Dzmitry Malyshau
bdaf57dbed
hal/mtl: pipelines and fences
2021-06-09 23:38:48 -04:00
Dzmitry Malyshau
9f904700ee
hal/mtl: creation of bind groups
2021-06-09 17:06:43 -04:00
Dzmitry Malyshau
6d229847be
hal: redesign the bind group descriptor
2021-06-08 17:12:28 -04:00
Dzmitry Malyshau
a0b51ce35c
hal: remove the cows
2021-06-08 15:18:06 -04:00
Dzmitry Malyshau
a421c1c8b6
Instance plumbing
2021-06-08 11:46:53 -04:00
Dzmitry Malyshau
ff2a3e84fc
update synchronization, fix last errors in wgc
2021-06-08 02:03:44 -04:00
Dzmitry Malyshau
0a82c232ba
hal: port the rest of wgpu-core
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
c61ee1262b
hal: transfer operations
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
6d51fab864
hal:: Fill the command buffer calls
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
738ae2b227
Surface API
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
0ea4cac04b
Rework shader and pipeline creation
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
569cd0cdd6
WIP new wgpu-hal
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
cfc6792c82
Validate pipeline state formats
2021-06-03 10:30:35 -04:00
Dzmitry Malyshau
beb88b0a88
Skip the cube compatibility on a downlevel flag
2021-06-01 08:29:44 -04:00
Wumpf
f62d0d5edc
Native Extension: Expose fill buffer & clear image ( #1335 )
...
* Add command buffer fill buffer method
* Added test for buffer fill
* Added image clear + test
* image/buffer clear methods are now pure clear to zero
* fix cargo clippy & int type issues
* clear buffer alignment is now given by COPY_BUFFER_ALIGNMENT
* joined buffer/image clear player tests
* ImageSubresourceRange is now used in TextureViewDescriptor
2021-05-30 11:03:33 -04:00
Dzmitry Malyshau
19dfcd93ca
Make player automatically start/stop the capture
2021-05-18 17:42:49 -04:00
Dzmitry Malyshau
51c7963195
Use the same MissingFeatures error everywhere
2021-05-17 14:20:17 -04:00
Dzmitry Malyshau
163b11db42
Validate the writable storage feature
2021-05-17 14:19:49 -04:00
Dzmitry Malyshau
f0a145d0fa
Add VERTEX_WRITABLE_STORAGE feature, refactor the sample border
2021-05-17 14:09:02 -04:00
Dzmitry Malyshau
e00251d3e3
Update naga to gfx-25
2021-05-13 23:56:26 -04:00
Jonathan Behrens
c64618abb8
Include shader label in log message if validation fails
2021-05-08 14:07:56 -04:00
Luca Casonato
751aa714f4
fix: zeroable buffer_get_mapped_range size
...
According to spec, size can be Some(0).
2021-05-06 22:03:43 -04:00
Dzmitry Malyshau
de5907d938
Explicitly list output spirv capabilities
2021-05-06 13:25:21 -04:00
Dzmitry Malyshau
6ff618aafb
Big refactor of the profiling usage
2021-04-29 02:06:58 -04:00
Chandler Newman
904ec7a5ee
Add uniform and storage buffer arrays
2021-04-29 00:38:04 -04:00
Dzmitry Malyshau
087bd07f55
Add shader compile markers
2021-04-27 12:23:28 -04:00
Dzmitry Malyshau
03c4e0969e
Update naga to gfx-23
2021-04-26 11:10:22 -04:00
Dzmitry Malyshau
525efda7b2
Hard error on SPIRV parsing failure when VALIDATION is requested
2021-04-22 17:18:16 -04:00
Dzmitry Malyshau
bc4c5c8f03
Change error type for the backend shader
2021-04-21 17:06:58 -04:00
Dzmitry Malyshau
8505a39f6a
Make implicit ids actually errors to start with
2021-04-20 17:32:40 -04:00
Dzmitry Malyshau
cc2e547d48
Update gfx to the new image view API
2021-04-20 10:16:30 -04:00