mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
mesa/compiler: copy early fragment tests to shader_info in _mesa_copy_linked_program_data()
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
6c2fcf6a8a
commit
dfcbdba471
2 changed files with 1 additions and 4 deletions
|
|
@ -38,8 +38,4 @@ copy_shader_info(const struct gl_shader_program *shader_prog,
|
|||
info->patch_outputs_written = sh->Program->PatchOutputsWritten;
|
||||
info->system_values_read = sh->Program->SystemValuesRead;
|
||||
info->uses_texture_gather = sh->Program->UsesGather;
|
||||
|
||||
if (sh->Stage == MESA_SHADER_FRAGMENT) {
|
||||
sh->Program->info.fs.early_fragment_tests = sh->info.EarlyFragmentTests;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2197,6 +2197,7 @@ _mesa_copy_linked_program_data(const struct gl_shader_program *src,
|
|||
}
|
||||
case MESA_SHADER_FRAGMENT: {
|
||||
dst->info.fs.depth_layout = src->FragDepthLayout;
|
||||
dst->info.fs.early_fragment_tests = dst_sh->info.EarlyFragmentTests;
|
||||
break;
|
||||
}
|
||||
case MESA_SHADER_COMPUTE: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue