Matteo Bruni (@Mystral) commented about dlls/d3dcompiler_43/tests/hlsl_d3d9.c:
+ static const struct test + { + const char *code; + struct vec4 color; + unsigned int flags; + } + tests[] = + { + { ps_typedef_source, { 0.1f, 0.2f, 0.1f, 0.5f } }, + { ps_pragmas_source, { 0.1f, 0.2f, 0.1f, 0.5f } }, + { ps_row_source, { 0.1f, 0.2f, 0.1f, 0.2f } }, + { ps_column_source, { 0.1f, 0.5f, 0.1f, 0.5f } }, + { ps_no_modifiers_source, { 0.1f, 0.2f, 0.1f, 0.2f }, D3DCOMPILE_PACK_MATRIX_ROW_MAJOR }, + { ps_no_modifiers_source, { 0.1f, 0.5f, 0.1f, 0.5f }, D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR }, + { ps_pragmas_source, { 0.1f, 0.2f, 0.1f, 0.5f }, D3DCOMPILE_PACK_MATRIX_ROW_MAJOR }, + { ps_pragmas_source, { 0.1f, 0.2f, 0.1f, 0.5f }, D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR }, So the #pragma wins over the compile flag, eh? Interesting.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3263#note_38666