Files
angle/scripts/code_generation_hashes/D3D11_format.json
T
Stephen White 3f59c28562 D3D11: implement image load/store format reinterpretation.
Reinterpretation requires all UAV textures to be in a TYPELESS
format. Implement an ensureUnorderedAccess() that converts the
texture's storage to one with the D3D11_BIND_UNORDERED_ACCESS
flag, which, prior to this change, was set unconditionally for
all textures in an >= ES 3.1 context. If this flag is set at
D3D texture creation time, use the appropriate TYPELESS format.

Implementation uses a BindFlags struct, which subsumes the
existing renderTarget for clarity. Factor out the relevant bits
of ensureRenderTarget() into an ensureBindFlags() helper function,
and make ensureRenderTarget() and ensureUnorderedAccess() wrappers
around it.

Add the corresponding typeless formats to the texture format table.

Bug: angleproject:7501, angleproject:7520
Change-Id: Id21b9db3229aceca121da6ba6507704417034ec4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3780588
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Stephen White <[email protected]>
2022-07-26 21:29:17 +00:00

12 lines
503 B
JSON

{
"src/libANGLE/renderer/angle_format.py":
"2f8fa768088e22b0963bbdf842d3e725",
"src/libANGLE/renderer/d3d/d3d11/gen_texture_format_table.py":
"b281bb7e6149acdd7e76d8432c537672",
"src/libANGLE/renderer/d3d/d3d11/texture_format_data.json":
"6e48f8d410a6cee0423608336154e420",
"src/libANGLE/renderer/d3d/d3d11/texture_format_map.json":
"c2019facd60d49228232b0e0b5e5048b",
"src/libANGLE/renderer/d3d/d3d11/texture_format_table_autogen.cpp":
"cdc250f6ceb55d73a3133c0eb5680c07"
}