summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-11-12 11:31:02 -0800
committerChad Versace <[email protected]>2015-11-12 12:21:46 -0800
commit1bea1669c599f28a6648991e17353af9edc95011 (patch)
treec24ab6bf08080e597a5d28bdd600d62e1a69ce33 /src/vulkan/anv_private.h
parentbfb022a23552becfaa04509a93bbcf280657c5ee (diff)
anv: Use enum isl_format in anv_format
This patch begins using isl.h in Anvil. More refactors will follow. Change type of anv_format::surface_format from uint16_t -> enum isl_format.
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index a60c679cede..4495499eda1 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -50,8 +50,8 @@
#include <vulkan/vk_ext_khr_device_swapchain.h>
#include "anv_entrypoints.h"
-
#include "brw_context.h"
+#include "isl.h"
#ifdef __cplusplus
extern "C" {
@@ -1208,7 +1208,7 @@ gen8_compute_pipeline_create(VkDevice _device,
struct anv_format {
const VkFormat vk_format;
const char *name;
- uint16_t surface_format; /**< RENDER_SURFACE_STATE.SurfaceFormat */
+ enum isl_format surface_format; /**< RENDER_SURFACE_STATE.SurfaceFormat */
uint8_t bs; /**< Block size (in bytes) of anv_format::surface_format. */
uint8_t bw; /**< Block width of anv_format::surface_format. */
uint8_t bh; /**< Block height of anv_format::surface_format. */