mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
microsoft/compiler: Handle forced early depth
Reviewed-by: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14342>
This commit is contained in:
parent
0b88600a64
commit
5d33a9fa47
1 changed files with 3 additions and 0 deletions
|
|
@ -1242,6 +1242,9 @@ get_module_flags(struct ntd_context *ctx)
|
|||
uint64_t flags = 0;
|
||||
if (ctx->mod.feats.doubles)
|
||||
flags |= (1 << 2);
|
||||
if (ctx->shader->info.stage == MESA_SHADER_FRAGMENT &&
|
||||
ctx->shader->info.fs.early_fragment_tests)
|
||||
flags |= (1 << 3);
|
||||
if (ctx->mod.raw_and_structured_buffers)
|
||||
flags |= (1 << 4);
|
||||
if (ctx->mod.feats.min_precision)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue