freedreno/ir3: Fix tess/geom asan error
Fixes: ee0ee2a317 ("ir3: don't sync every TCS/GEOM block")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34989>
This commit is contained in:
@@ -240,10 +240,6 @@ KHR-GL46.texture_lod_basic.lod_selection,Fail
|
||||
KHR-GL46.texture_lod_bias.texture_lod_bias_all,Fail
|
||||
|
||||
# a630-gles-asan
|
||||
asan-dEQP-GLES31.functional.debug.negative_coverage.callbacks.tessellation.invalid_primitive_mode,Crash
|
||||
asan-dEQP-GLES31.functional.debug.negative_coverage.get_error.tessellation.invalid_primitive_mode,Crash
|
||||
asan-dEQP-GLES31.functional.debug.negative_coverage.log.tessellation.invalid_primitive_mode,Crash
|
||||
asan-dEQP-GLES31.functional.state_query.program.tesselation_shader_state_get_programiv,Crash
|
||||
asan-dEQP-GLES31.functional.texture.border_clamp.range_clamp.linear_float_color,Fail
|
||||
|
||||
# GL tests above, Vulkan tests below
|
||||
|
||||
@@ -5887,9 +5887,11 @@ ir3_compile_shader_nir(struct ir3_compiler *compiler,
|
||||
*/
|
||||
if (so->type == MESA_SHADER_TESS_CTRL || so->type == MESA_SHADER_GEOMETRY) {
|
||||
struct ir3_block *first_block = ir3_start_block(ir);
|
||||
struct ir3_instruction *first_instr = list_first_entry(
|
||||
&first_block->instr_list, struct ir3_instruction, node);
|
||||
first_instr->flags |= IR3_INSTR_SS | IR3_INSTR_SY;
|
||||
if (!list_is_empty(&first_block->instr_list)) {
|
||||
struct ir3_instruction *first_instr = list_first_entry(
|
||||
&first_block->instr_list, struct ir3_instruction, node);
|
||||
first_instr->flags |= IR3_INSTR_SS | IR3_INSTR_SY;
|
||||
}
|
||||
}
|
||||
|
||||
if (ctx->compiler->gen >= 7 && so->type == MESA_SHADER_COMPUTE) {
|
||||
|
||||
Reference in New Issue
Block a user