On Thu Aug 25 22:21:45 2022 +0000, Matteo Bruni wrote:
I'd prefer if this was stored as a DWORD array (or other 4-byte data type) instead, like e.g. the shaders from the d3d11 tests. BTW the size in bytes of the array above doesn't seem to be divisible by 4, which doesn't sound right for DXBC shaders.
I compiled this shader like this on Windows:
`fxc /Qstrip_debug /Qstrip_reflect /T fx_4_0 /Fo test_fx test_fx_source`
It do give me a result shader of 266 bytes.
PS, My fxc version:
`Microsoft (R) Direct3D Shader Compiler 10.1 (using C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\D3DCOMPILER_47.dll) Copyright (C) 2013 Microsoft. All rights reserved.`