Elias Naur
0ceccf3c93
app/internal/d3d11: try more floating point formats
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-29 13:01:48 +01:00
Elias Naur
b3a3c34088
app/internal/d3d11: detect hardware floating point support
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-29 10:52:04 +01:00
Elias Naur
1d3a9fb2d6
internal/cmd/convertshaders: replace fxc.exe with D3DCompile
...
D3DCompile successfully compiles shaders fxc.exe doesn't. As a bonus
the DirectX SDK is no longer required (it includes fxc.exe).
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-28 15:14:54 +01:00
Elias Naur
a448825d48
app/internal/d3d11: only clear depth buffer if it exists
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-28 14:50:39 +00:00
Elias Naur
73fc5e1482
app/internal/d3d11: return structured ErrorCode errors from d3d functions
...
While here, change the ErrorCode.Code field type to uint32 to better reflect
its native counterpart.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-28 13:49:56 +01:00
Elias Naur
2fd7e2dd9b
app/internal/d3d11: fix GOOS=windows GOARCH=386 build
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-28 09:58:23 +01:00
Elias Naur
e03b3cd808
app/internal/d3d11: add Direct3D backend
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2020-02-27 21:41:35 +01:00