Direct3D + Shaders
tinyBigGAMES

Hi,

When I create a d3d display with the ALLEGRO_PROGRAMMABLE_PIPELINE flag, it returns nil on al_create_display, ogl + ALLEGRO_PROGRAMMABLE_PIPELINE, seems to work and I can create a shader. Any ideas about what is going on here?

OS: Windows 10 Pro, 64bit (latest version)
CPU: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz 2.71 GHz
GPU: GeForce GT 1030
DirectX: 12 runtime

SiegeLord

Would you be able to post your allegro.log (if you're not running a debug build, you could invoke al_set_config_value(al_get_system_config(), "trace", "level", "debug") before al_init)? Which Allegro version are you using?

tinyBigGAMES

Hi, ahh yes, I forgot about enabling the log file. So it turns out D3DX9_43.dll and D3DCompiler_43.dll was not on my devbox what so ever. Sigh. Man, all of this because dx9 components may not be installed on the user's machine. Back to this type of nightmare again. So, apparently installing the Windows SDK will not install those dlls and you can not assume a Windows 10 machine will have it either, so I'm forced to have to include in my distro. Now I see why these dlls are included with some apps. When I dropped them beside the EXE, everything works as expected. I was expecting it not to find them beside the EXE as I read in the forums about security, blah blah, but it seems to work, otherwise that would be an addition problem with distribution.

So for now, I guess all is good, thanks for the reply.

Thread #618453. Printed from Allegro.cc