KhronosGroup / VK-GL-CTS

Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
https://www.khronos.org/
Apache License 2.0
521 stars 290 forks source link

[VKCTS1.3.8]likely case issue:dEQP-VK.dynamic_state.monolithic.line_width.static_dyna.list3_strip4 #464

Open NPUer-ZMT opened 1 month ago

NPUer-ZMT commented 1 month ago

Hi dear khronos developers,

I found this case mean to draw two lines, one vertex static line with width 3 and dynamic color (1,0,1,1), one horizontal dynamic line with width 4 and static color (0,1,0,1). When verifyResult(), case would check number of pixcels which matched dynamic color and static color. However, I found it failed because dynamicLineWidth was 2 and it supposed to be 4.

According to my test on /external/vulkancts/modules/vulkan/dynamic_state/vktDynamicStateLineWidthTests.cpp, when buildVertices(line327), dynamicVertCount was set to be 3, and dynamicVertCount 4. It was contrary to the original intention.

When I forced to exchange the mentioned two vertex count during vkcmdDraw(), case passed but draw dump was different form original one. I'm confused if I met a case issue.

Could you please help to check this fail issue? I'm looking forward to your reply!

Thanks!

NPUer-ZMT commented 1 month ago

I'm sorry to tell, it seemed to be my falut again, not case issue. This case set width for 2 lines correctly. But 128bpp format was not supported on my board.

Thanks.