libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
10.19k stars 1.86k forks source link

testautomation --filter render_testBlendModes fails with vulkan renderer #10400

Open madebr opened 4 months ago

madebr commented 4 months ago

Command:

test/testautomation  --filter render_testBlendModes --renderer vulkan

Grepping Failed, these assertions fail:

ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB color modulation operation results, expected 0,64,226,255, got 115,122,138,255': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB color modulation operation results, expected 0,64,226,255, got 115,122,138,141': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB alpha modulation operation results, expected 10,128,240,255, got 116,128,139,255': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB alpha modulation operation results, expected 10,128,240,255, got 116,128,139,141': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render point SDL_BLENDMODE_NONE operation results, expected 10,128,240,255, got 10,128,240,100': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render line SDL_BLENDMODE_NONE operation results, expected 10,128,240,255, got 10,128,240,100': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render rect SDL_BLENDMODE_NONE operation results, expected 10,128,240,255, got 10,128,240,100': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_NONE operation results, expected 10,128,240,255, got 10,128,240,26': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_NONE operation results, expected 10,128,240,255, got 10,128,240,26': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render ARGB SDL_BLENDMODE_NONE operation results, expected 10,128,240,255, got 10,128,240,100': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_BLEND operation results, expected 10,128,240,255, got 116,128,139,255': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_BLEND operation results, expected 10,128,240,255, got 116,128,139,141': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_BLEND_PREMULTIPLIED operation results, expected 10,128,240,255, got 125,243,255,255': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_BLEND_PREMULTIPLIED operation results, expected 10,128,240,255, got 125,243,255,141': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_ADD operation results, expected 138,255,255,255, got 129,141,152,255': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_ADD operation results, expected 138,255,255,128, got 129,141,152,128': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_MUL operation results, expected 5,64,120,255, got 120,179,235,255': Failed
ERROR: 07/28/24 03:58:34: Assert 'Checking render XRGB SDL_BLENDMODE_MUL operation results, expected 5,64,120,128, got 120,179,235,128': Failed
slouken commented 4 months ago

I can repro with Vulkan as well as D3D. I'll have to check whether the software renderer or the 3D renderer is correct.