[Mesa-dev] [PATCH 31/51] intel/compiler/fs: Pad 16-bit output (store/fb write) payloads
Topi Pohjolainen
topi.pohjolainen at gmail.com
Fri Nov 24 12:26:58 UTC 2017
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
src/intel/compiler/brw_fs_nir.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp
index 6d9b272a57..d3125d7dcd 100644
--- a/src/intel/compiler/brw_fs_nir.cpp
+++ b/src/intel/compiler/brw_fs_nir.cpp
@@ -3254,7 +3254,7 @@ alloc_temporary(const fs_builder &bld, unsigned size, fs_reg *regs, unsigned n,
} else {
const brw_reg_type type =
is_16bit ? BRW_REGISTER_TYPE_HF : BRW_REGISTER_TYPE_F;
- const fs_reg tmp = bld.vgrf(type, size);
+ const fs_reg tmp = bld.vgrf(type, size, is_16bit);
for (unsigned i = 0; i < n; i++)
regs[i] = tmp;
--
2.11.0
More information about the mesa-dev
mailing list