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:
33d03e5
)
microsoft/compiler: Fix setting bit 31 in feature flags
author
Jesse Natalie
<jenatali@microsoft.com>
Mon, 13 Mar 2023 18:22:27 +0000
(11:22 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 23 Mar 2023 21:48:43 +0000
(21:48 +0000)
Fixes:
a84208ee
("microsoft/compiler: Fill out and sort the shader/module flags")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21913>
src/microsoft/compiler/nir_to_dxil.c
patch
|
blob
|
history
diff --git
a/src/microsoft/compiler/nir_to_dxil.c
b/src/microsoft/compiler/nir_to_dxil.c
index
178a1e8
..
ce2f3fa
100644
(file)
--- a/
src/microsoft/compiler/nir_to_dxil.c
+++ b/
src/microsoft/compiler/nir_to_dxil.c
@@
-1729,7
+1729,7
@@
get_module_flags(struct ntd_context *ctx)
if (ctx->mod.feats.resource_descriptor_heap_indexing)
flags |= (1 << 30);
if (ctx->mod.feats.sampler_descriptor_heap_indexing)
- flags |= (1 << 31);
+ flags |= (1
ull
<< 31);
if (ctx->mod.feats.atomic_int64_heap_resource)
flags |= (1ull << 32);
if (ctx->mod.feats.advanced_texture_ops)