mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
radeonsi: Initialize uses_kill boolean from TGSI info.
Fixes discarded pixels incorrectly updating the depth buffer. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
557d4918ad
commit
e44dfd4b3c
1 changed files with 1 additions and 0 deletions
|
|
@ -779,6 +779,7 @@ int si_pipe_shader_create(
|
|||
bld_base = &si_shader_ctx.radeon_bld.soa.bld_base;
|
||||
|
||||
tgsi_scan_shader(sel->tokens, &shader_info);
|
||||
shader->shader.uses_kill = shader_info.uses_kill;
|
||||
bld_base->info = &shader_info;
|
||||
bld_base->emit_fetch_funcs[TGSI_FILE_CONSTANT] = fetch_constant;
|
||||
bld_base->emit_prologue = si_llvm_emit_prologue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue