From 34294bd9bbfe9b1694f522e773be6f640beb86ca Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Fri, 12 Aug 2022 08:52:45 -0700 Subject: [PATCH] microsoft/compiler: Discard shouldn't be marked readnone Cc: mesa-stable Reviewed-by: Boris Brezillon Part-of: --- 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 cc78f82..e7b3ab3 100644 --- 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}, -- 2.7.4