summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-09-03 18:37:38 +1000
committerDave Airlie <[email protected]>2017-09-04 08:40:27 +1000
commit2b79bbde892a9a07149f8bb0f374fc0d34db4bd8 (patch)
tree96c030b04bceba2ab630a84a6cc9fa41a6a76bbd
parentbf8637addf4fda43b389fce957733903660de15d (diff)
radv: drop emit2d_dst_type.
This is completely unused now. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/amd/vulkan/radv_meta_blit2d.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/amd/vulkan/radv_meta_blit2d.c b/src/amd/vulkan/radv_meta_blit2d.c
index 79e76be49bc..6763384cada 100644
--- a/src/amd/vulkan/radv_meta_blit2d.c
+++ b/src/amd/vulkan/radv_meta_blit2d.c
@@ -28,22 +28,6 @@
#include "nir/nir_builder.h"
#include "vk_format.h"
-enum blit2d_dst_type {
- /* We can bind this destination as a "normal" render target and render
- * to it just like you would anywhere else.
- */
- BLIT2D_DST_TYPE_NORMAL,
-
- /* The destination has a 3-channel RGB format. Since we can't render to
- * non-power-of-two textures, we have to bind it as a red texture and
- * select the correct component for the given red pixel in the shader.
- */
- BLIT2D_DST_TYPE_RGB,
-
- BLIT2D_NUM_DST_TYPES,
-};
-
-
enum blit2d_src_type {
BLIT2D_SRC_TYPE_IMAGE,
BLIT2D_SRC_TYPE_BUFFER,