summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorThomas Helland <[email protected]>2017-06-07 20:45:41 +0200
committerMarek Olšák <[email protected]>2017-06-07 21:07:24 +0200
commite558a7a9888ee56863f11e7ede387689626f6ea9 (patch)
tree341f8df3bb26951fdd3f4c7b8992719047a9c886 /src/compiler/spirv/vtn_private.h
parentbc3a2be6c91d514c744c72ec97aeced7bcd57265 (diff)
nir: Port to u_dynarray
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r--src/compiler/spirv/vtn_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h
index 5769c0c6cd2..59fcc94fcda 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -30,7 +30,7 @@
#include "nir/nir.h"
#include "nir/nir_builder.h"
-#include "nir/nir_array.h"
+#include "util/u_dynarray.h"
#include "nir_spirv.h"
#include "spirv.h"
@@ -115,7 +115,7 @@ struct vtn_case {
struct vtn_case *fallthrough;
/* The uint32_t values that map to this case */
- nir_array values;
+ struct util_dynarray values;
/* True if this is the default case */
bool is_default;