projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Support for 8-bit base types in helper functions
[mesa.git]
/
src
/
intel
/
compiler
/
brw_nir.c
diff --git
a/src/intel/compiler/brw_nir.c
b/src/intel/compiler/brw_nir.c
index 74b39ad80a24ffa9ffad1b226925933834e915c9..5990427b7314fe91a6147872a8c5558be0710aaf 100644
(file)
--- a/
src/intel/compiler/brw_nir.c
+++ b/
src/intel/compiler/brw_nir.c
@@
-887,6
+887,10
@@
brw_type_for_nir_type(const struct gen_device_info *devinfo, nir_alu_type type)
return BRW_REGISTER_TYPE_W;
case nir_type_uint16:
return BRW_REGISTER_TYPE_UW;
+ case nir_type_int8:
+ return BRW_REGISTER_TYPE_B;
+ case nir_type_uint8:
+ return BRW_REGISTER_TYPE_UB;
default:
unreachable("unknown type");
}