radv: fix lowering VS inputs when offset >= stride on GFX6-7
This was supposed to be >=. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31209>
This commit is contained in:
committed by
Marge Bot
parent
15b1790a1e
commit
ad3e6bb06a
@@ -1,20 +1,3 @@
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec2.offset_4.overlapping.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec2.offset_4.overlapping.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec2.offset_4.packed.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec2.offset_4.packed.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec4.offset_12.packed.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec4.offset_12.packed.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec4.offset_4.packed.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.monolithic.input_attribute_offset.vec4.offset_4.packed.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec2.offset_4.overlapping.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec2.offset_4.overlapping.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec2.offset_4.packed.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec2.offset_4.packed.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec4.offset_12.packed.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec4.offset_12.packed.with_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec4.offset_4.packed.no_memory_offset.static,Fail
|
||||
dEQP-VK.pipeline.pipeline_library.input_attribute_offset.vec4.offset_4.packed.with_memory_offset.static,Fail
|
||||
|
||||
# Regressions (https://gitlab.freedesktop.org/mesa/mesa/-/issues/11112)
|
||||
dEQP-VK.texture.mipmap.3d.image_view_min_lod.base_level.linear_linear,Fail
|
||||
dEQP-VK.texture.mipmap.3d.image_view_min_lod.base_level.linear_linear_integer_texel_coord,Fail
|
||||
|
||||
@@ -281,7 +281,7 @@ lower_load_vs_input(nir_builder *b, nir_intrinsic_instr *intrin, lower_vs_inputs
|
||||
|
||||
/* Add excess constant offset to the index. */
|
||||
unsigned const_off = attrib_offset + count_format_bytes(f, 0, start);
|
||||
if (attrib_stride && const_off > attrib_stride) {
|
||||
if (attrib_stride && const_off >= attrib_stride) {
|
||||
index = nir_iadd_imm(b, base_index, const_off / attrib_stride);
|
||||
const_off %= attrib_stride;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user