summaryrefslogtreecommitdiff
path: root/src/compiler/nir/nir_search.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-04-25 12:23:38 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-04-27 11:21:06 -0700
commitfcc1c8a43728ac9c9d3cd144d034e4925ec5bbcc (patch)
tree74f9d5473ce470332ebcbfaa627de26646a4f386 /src/compiler/nir/nir_search.h
parentcafb885e4594f20359cbc88fa08002147470935e (diff)
downloadmesa-fcc1c8a43728ac9c9d3cd144d034e4925ec5bbcc.tar.gz
nir/algebraic: Add a mechanism for specifying the bit size of a value
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/compiler/nir/nir_search.h')
-rw-r--r--src/compiler/nir/nir_search.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_search.h b/src/compiler/nir/nir_search.h
index 61742f129b1..c49eba76dec 100644
--- a/src/compiler/nir/nir_search.h
+++ b/src/compiler/nir/nir_search.h
@@ -40,6 +40,8 @@ typedef enum {
typedef struct {
nir_search_value_type type;
+
+ unsigned bit_size;
} nir_search_value;
typedef struct {