d3d12: move cubemap-lowering to common-code
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 8 Jun 2022 13:53:44 +0000 (15:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Jun 2022 22:14:14 +0000 (22:14 +0000)
commitb386802bb96f30a62ff839f1a22d60f01ca98c22
treea2cffe5b9200d9d641ac2004df6b7022f8e19396
parent98d7a9a9e4fe25395207a7a88061f15328cc77eb
d3d12: move cubemap-lowering to common-code

We're going to want to do part of this in DZN as well.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16904>
src/gallium/drivers/d3d12/d3d12_compiler.cpp
src/gallium/drivers/d3d12/d3d12_nir_passes.h
src/gallium/drivers/d3d12/meson.build
src/microsoft/compiler/dxil_nir_lower_int_cubemaps.c [moved from src/gallium/drivers/d3d12/d3d12_lower_int_cubemap_to_array.c with 99% similarity]
src/microsoft/compiler/dxil_nir_lower_int_cubemaps.h [new file with mode: 0644]
src/microsoft/compiler/meson.build