Mesa (master): microsoft/compiler: Fix function signature for bufferStore to support overloads

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 27 23:22:52 UTC 2021


Module: Mesa
Branch: master
Commit: c218f4a56e7ccc7886fae52ca673c02fb6658138
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c218f4a56e7ccc7886fae52ca673c02fb6658138

Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Fri Apr 16 20:00:45 2021 -0700

microsoft/compiler: Fix function signature for bufferStore to support overloads

Reviewed-by: Enrico Galli <enrico.galli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10298>

---

 src/microsoft/compiler/dxil_function.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microsoft/compiler/dxil_function.c b/src/microsoft/compiler/dxil_function.c
index 5be4f5dd0c0..4f55992c89b 100644
--- a/src/microsoft/compiler/dxil_function.c
+++ b/src/microsoft/compiler/dxil_function.c
@@ -48,7 +48,7 @@ static struct  predefined_func_descr predefined_funcs[] = {
 {"dx.op.unaryBits", "i", "iO", DXIL_ATTR_KIND_READ_NONE},
 {"dx.op.isSpecialFloat", "b", "iO", DXIL_ATTR_KIND_READ_NONE},
 {"dx.op.binary", "O", "iOO", DXIL_ATTR_KIND_READ_NONE},
-{"dx.op.bufferStore", "v", "i at iiiiiic", DXIL_ATTR_KIND_NONE},
+{"dx.op.bufferStore", "v", "i at iiOOOOc", DXIL_ATTR_KIND_NONE},
 {"dx.op.bufferLoad", "R", "i at ii", DXIL_ATTR_KIND_READ_ONLY},
 {"dx.op.attributeAtVertex", "O", "iiicc", DXIL_ATTR_KIND_READ_NONE},
 {"dx.op.sample", "R", "i@@ffffiiif", DXIL_ATTR_KIND_READ_ONLY},



More information about the mesa-commit mailing list