| [AD] All D3D shader examples crash in EndPass | 
[ Thread Index | 
Date Index
| More lists.liballeg.org/allegro-developers Archives
] 
- To: Allegro Developers <allegro-developers@xxxxxxxxxx>
- Subject: [AD] All D3D shader examples crash in EndPass
- From: Edgar Reynaldo <edgarreynaldo@xxxxxxxxxx>
- Date: Thu, 1 Dec 2016 16:58:17 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=members-allegro-cc.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=WmSrJtLnnOl8JTotpV5W1sqv0787ki6zB2yc3yEt4Ug=; b=nUkG3prK1xQBqA5OlkDZy6T0kiqINJwBurIlka4u0A4m6KDc+RpvUkpDF9uVDlLPjI rxOyJIOLHOOnA4DwBmsjHfcKNe+WHyMLsHN6JAKGy5x1StQnXcaoTX14iAQAh9e/OrlU 0TMAbv8UVrEQuyYNbzVcb5w7cuyuZIwnOdqyQwBvG4svbfCyWOZPoU9JMmW/z61vShYw gzMUvcBpjglKmQ5hiz9eocwk9eemhoRH5mzPwO5+R+xhLrsZ4yYScnCJ7xmWNraUD8IZ Sq/NVxd36sBjZ8JS5Qz6B2L0aOZmOLYs1H7Xby9EXIuMOjPXpaZPpDtQ+jsmocemTpvD ERIg==
As reported before a while ago, all of the shader example programs crash 
when using D3D and HLSL. The shaders all compile and build fine, but 
crash when attempting to draw them. Every program works fine when using 
OpenGL instead.
See this old thread for details :
https://www.allegro.cc/forums/thread/615570
I've been trying to debug it but I don't know why they crash. The calls 
to DrawPrimtiveUP all seem to succeed and return D3D_OK but the programs 
then crash on the next line in Effect.EndPass(). See lines 2735-2746 of 
d3d_disp.cpp for details.
Edgar