Jinlei Li
8063edc648
Add DEPTH24UNORM_STENCIL8 feature ( #2689 )
2022-05-30 15:29:12 -04:00
i509VCB
2c9c5bbbe5
expose egl display in gles ( #2670 )
2022-05-29 03:05:57 -04:00
Connor Fitzgerald
9114283707
Tracking Optimization and Rewrite ( #2662 )
...
* Texture state full is dead code
* temp
* temp2 - next is lifetime only
* temp3 - all trackers in place
* temp4 - continue muddling along
* temp5 - doodle doodle
* temp6 - continuous progress is continuous
* temp7 - pro-gress
* temp8 - Add refcounts to trackers
* temp9 - Soundness, generics, refcounts, and epochs
* temp10 - Compiling?!1?!1?!1
* temp11 - Add bind group state optimization
* temp12 - Safety and adding size setting
* temp13 - unsafe
* temp14 - Abstract all the state transitions
* temp15 - It verks! kinda...
* temp16 - it more verks!
* temp17 - debugging and unit tests
* temp18 - fixing unfixed things
* temp19 - hmmm
* temp20 - curious about line deltas
* temp21 - working texture trackers
* temp22 - write merge/update/barrier for buffers
* temp23 - cleanup and buffers
* temp24 - clippy cleanup
* temp25 - Add inline markers on buffer functions
* temp26 - Fix buffer trackers
* temp27 - fixed texture insert to handle both sides
* temp28 - document tracker and usages
* temp29 - document track/mod.rs
* temp30 - convert STORAGE_WRITE to STORAGE_READ_WRITE
* temp31 - Add some debug asserts to make sure we can't insert invalid states
* temp32 - clippy is opinionated sometimes
* temp33 - renaming and documentation
* temp34 - logging
2022-05-24 11:36:13 -04:00
i509VCB
435188cb89
expose some underlying types in Vulkan hal
2022-05-22 08:49:04 -07:00
Jinlei Li
eb260ba7a6
metal: fix Depth24Plus | Depth24PlusStencil8 capabilities ( #2686 )
2022-05-22 08:31:15 -07:00
Ashley
1ec26784c4
[Gles] Fix clearing depth and stencil at the same time ( #2675 )
2022-05-19 17:10:27 -04:00
Jinlei Li
26f96c7dfe
Add DEPTH32FLOAT_STENCIL8 featue ( #2664 )
2022-05-17 02:11:05 -04:00
Jinlei Li
8e5ac75d45
metal: fix Rgb9e5Ufloat capabilities and sampler_lod_average support ( #2656 )
2022-05-14 01:06:06 +00:00
Jinlei Li
ddf1903b03
Add SHADER_FLOAT16 feature ( #2646 )
...
* Add SHADER_FLOAT16 feature
* vk: check SHADER_FLOAT16 feature
2022-05-12 22:14:19 -07:00
Poly
8e62ca0538
Add new integrated GPU to the list: AMD Renoir
...
Renoir is codename for AMD series of mainstream mobile and desktop APUs based on the Zen 2 CPU and Vega GPU microarchitectures succeeding Picasso.
2022-05-11 20:32:43 -07:00
Poly
bfcf5fa513
Make GLES DeviceType unknown by default
2022-05-11 20:32:43 -07:00
Jim Blandy
85b4815f83
Rename timeout_us to timeout_ns, to match actual units. ( #2645 )
2022-05-06 21:32:30 -04:00
Jim Blandy
ee3d23d546
Raise wgpu_hal::MAX_COLOR_TARGETS to 8. ( #2640 )
2022-05-03 04:07:15 -04:00
Ashley
ebca3298f0
Remove gles compressed texture log::error! ( #2630 )
2022-04-25 17:38:57 -04:00
Connor Fitzgerald
e54a36ee78
Move texture-array example over to wgsl ( #2618 )
2022-04-25 18:32:53 +00:00
Connor Fitzgerald
bc850d2a0e
Bind group deduplication ( #2623 )
2022-04-25 04:19:25 +00:00
Dragoș Tiselice
59d640a107
metal: Don't skip incomplete binding resources. ( #2622 )
2022-04-21 19:49:33 +00:00
Ashley
ff07716f79
Do a downlevel check for anisotrophy and enable it in the webgl backend ( #2616 )
...
* Do a downlevel check for anisotrophy and enable it in the webgl backend
* Run cargo fmt
* Change to sample_parameter_i32
2022-04-20 20:56:16 -04:00
Jinlei Li
0b61a19124
metal: fix some supported limits
2022-04-18 20:40:03 -07:00
Kevin Reid
cb7ad30d58
Prefix every wgpu-generated label with (wgpu internal).
...
This is intended to help developers new to wgpu or to graphics debugging
quickly recognize in a debugging tool which items are wgpu-generated, as
opposed to either part of their program or part of the platform graphics
system.
I also removed existing marker-like text such as leading underscores and
angle brackets.
2022-04-15 22:39:08 -07:00
xiaopengli89
abdf1cd741
Add raw_queue for d3d12 device
2022-04-15 21:50:32 -07:00
Jim Blandy
988990c24d
Fix doc links. ( #2579 )
2022-04-05 18:56:25 +00:00
Jim Blandy
75e82afd35
wgpu-hal: Work around cbindgen bug: ignore gles::egl module. ( #2576 )
2022-04-03 19:32:10 -04:00
Alphyr
d45e6b4119
Update ash to 0.37 ( #2557 )
2022-03-27 22:15:58 -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
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
926bf848cf
hal/gles: Fix compressed texture stride calculations
2022-02-28 21:38:52 -08:00
Connor Fitzgerald
4d7f6eb07a
Implement validation canary
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
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
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
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
Jinlei Li
7f3c6f7019
vulkan: correctly set INDEPENDENT_BLEND,make runable on Android 8.x
2022-02-22 15:45:05 -05:00
Jinlei Li
01628a1fad
vulkan: HDR ASTC formats support
2022-02-20 00:00:06 -05:00
Connor Fitzgerald
eacc2929ca
Fix emscripten ( #2494 )
2022-02-19 05:42:41 +00:00
Dmitry Sharshakov and Connor Fitzgerald
70db03dc99
Use EGL surfaceless platform when windowing system is not found ( #2339 )
...
* Use EGL surfaceless platform when windowing system is not found
Falling back to egl::DEFAULT_DISPLAY usually results in X11 EGL platform being picked and then rejected because of unavailability on a head/GPU-less system. EGL_PLATFORM_SURFACELESS_MESA works with both radeonsi and llvmpipe/swrast when Xorg/Wayland sockets are being hidden from application. Needs to be tested in a truly GPU-less environment such as CI it is required to run in. Addresses #1551
Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com >
* Set backend for capture by environment variables
Useful for testing surfaceless
Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com >
* Check for EGL_MESA_platform_surfaceless extension before using surfaceless platform
Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com >
* Format
Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com >
* Unify types for GLES config tiers
Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com >
* Remove red.png
Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com >
* Enable GL backend for CI
* Bump outliers count for skybox_etc2 due to llvmpipe test (102)
* Add SURFACE_TYPE PBUFFER_BIT requirement to off-screen surface tier
* Re-nix GL Backend on CI
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2022-02-19 05:21:05 +00:00
Jinlei Li
8dd711ed3d
hal/vk: Refactor create_surface_from_ns_view , make it both correct on iOS macOS
2022-02-18 20:26:53 -05:00
Jinlei Li
fa35c0a0f4
Re-allow vk backend on Apple platforms via vulkan-portability feature
2022-02-18 20:26:53 -05:00
Vladimir Mitrović
c1dcd6ddee
Add COPY_DST to Metal's surface usage bits
2022-02-18 12:03:40 -05:00