diff options
author | Jason Ekstrand <[email protected]> | 2017-03-08 20:34:28 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-30 11:34:45 -0700 |
commit | fbcf92a278e7319a0786bd9244288839eeb42189 (patch) | |
tree | 3e671491c835791cbe5026803fd1ed6231dd8048 /src/compiler/nir/nir.h | |
parent | 28e41506a6ee0631cf6ca04891dcb3adeff82f60 (diff) |
nir: Add support for 8 and 16-bit types
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index f88707a31a0..ce5b434d56a 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -106,6 +106,10 @@ typedef enum { typedef union { float f32[4]; double f64[4]; + int8_t i8[4]; + uint8_t u8[4]; + int16_t i16[4]; + uint16_t u16[4]; int32_t i32[4]; uint32_t u32[4]; int64_t i64[4]; |