projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd6411
)
microsoft/compiler: Discard shouldn't be marked readnone
author
Jesse Natalie
<jenatali@microsoft.com>
Fri, 12 Aug 2022 15:52:45 +0000
(08:52 -0700)
committer
Jesse Natalie
<jenatali@microsoft.com>
Thu, 18 Aug 2022 13:44:22 +0000
(06:44 -0700)
Cc: mesa-stable
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18034>
src/microsoft/compiler/dxil_function.c
patch
|
blob
|
history
diff --git
a/src/microsoft/compiler/dxil_function.c
b/src/microsoft/compiler/dxil_function.c
index
cc78f82
..
e7b3ab3
100644
(file)
--- a/
src/microsoft/compiler/dxil_function.c
+++ b/
src/microsoft/compiler/dxil_function.c
@@
-62,7
+62,7
@@
static struct predefined_func_descr predefined_funcs[] = {
{"dx.op.textureLoad", "R", "i@iiiiiii", DXIL_ATTR_KIND_READ_ONLY},
{"dx.op.textureGather", "R", "i@@ffffiii", DXIL_ATTR_KIND_READ_ONLY},
{"dx.op.textureGatherCmp", "R", "i@@ffffiiif", DXIL_ATTR_KIND_READ_ONLY},
-{"dx.op.discard", "v", "ib", DXIL_ATTR_KIND_
READ_NONE
},
+{"dx.op.discard", "v", "ib", DXIL_ATTR_KIND_
NO_UNWIND
},
{"dx.op.sampleIndex", "i", "i", DXIL_ATTR_KIND_READ_NONE},
{"dx.op.emitStream", "v", "ic", DXIL_ATTR_KIND_NONE},
{"dx.op.cutStream", "v", "ic", DXIL_ATTR_KIND_NONE},