Commit Graph

1457 Commits

Author SHA1 Message Date
Philip Rebohle fabcdbc3ae
[dxbc] Add definitions for extended double instructions 2018-08-15 20:11:34 +02:00
Philip Rebohle 0b1b898be4
[d3d11] Implement ID3D11DeviceContext1::ClearView
Required for Feature Level 11_1.
2018-08-15 19:03:26 +02:00
Philip Rebohle f4b2c52816
[dxvk] Support render target views in ClearImageView
This way, we'll have two separate code paths, one for
storage images and one for render targets. We'll need
this for the implementation of ClearView.
2018-08-15 19:03:26 +02:00
Philip Rebohle beedd39f7d
[dxvk] Accept VkClearValue in DxvkContext::clearImageView 2018-08-15 19:03:26 +02:00
Philip Rebohle da21a6db7f
[d3d11] Silence warning about GenerateMips being called on buffers 2018-08-15 19:03:26 +02:00
Mikhail Paulyshka 3df708d500 [build] reduce the number of d3dcompiler versions 2018-08-15 13:17:16 +02:00
Philip Rebohle e5eb155968
[d3d10] Add some range checks to resource binding functions 2018-08-14 19:37:23 +02:00
Mikhail Paulyshka 5e81b9c88b [d3d10] added missing __stdcall 2018-08-14 18:48:55 +02:00
Philip Rebohle dad015bd67
[d3d10] Fix crash in CreateDepthStencilView when pDesc is null
This is legal and we should just pass the null pointer to D3D11.
Should fix a crash in Stalker: Call of Pripyat.
2018-08-14 00:12:53 +02:00
Philip Rebohle 861165f32a
[meta] Fix formatting errors
Some filthy little tabs have somehow made
it into the world of spaces to wreak havoc.
2018-08-13 18:30:51 +02:00
Philip Rebohle 8a44011fde
[meta] Update README 2018-08-13 18:18:19 +02:00
Philip Rebohle 4867c8b6e5
[meta] Add D3D10 support to setup script and package-release script 2018-08-13 17:22:42 +02:00
Philip Rebohle f011e78163
[d3d10] Implement D3D10ShaderReflection
This is a simple wrapper that uses D3D11ShaderReflection from the
d3dcompiler libs. The implementation is required to run Crysis.
2018-08-13 17:22:42 +02:00
Philip Rebohle 221165f02b
[d3d10] Implement more d3d10.dll functions using D3DCompiler 2018-08-13 17:22:42 +02:00
Philip Rebohle 5e11c8a8d1
[d3d10] Implement CheckFormatSupport 2018-08-13 17:22:42 +02:00
Philip Rebohle 589bc50842
[d3d10] Implement (VS|GS|PS)(Set|Get)Shader 2018-08-13 17:22:42 +02:00
Philip Rebohle e671692886
[d3d10] Implement D3D10Shader 2018-08-13 17:22:42 +02:00
Philip Rebohle 346c59bb62
[d3d10] Implement (Set|Get)Predication 2018-08-13 17:22:42 +02:00
Philip Rebohle 2af07c5faf
[d3d10] Implement D3D10Query 2018-08-13 17:22:42 +02:00
Philip Rebohle 2863a09c5d
[d3d10] Implement ClearRenderTargetView and ClearDepthStencilView 2018-08-13 17:22:42 +02:00
Philip Rebohle f76ab6e3be
[d3d10] Implement OM(Set|Get)RenderTargets 2018-08-13 17:22:42 +02:00
Philip Rebohle ae12fbd23c
[d3d10] Implement D3D10CreateDepthStencilView 2018-08-13 17:22:42 +02:00
Philip Rebohle ea46a0340e
[d3d10] Implement D3D10RenderTargetView 2018-08-13 17:22:42 +02:00
Philip Rebohle e0a27fd05e
[d3d10] Implement GenerateMips 2018-08-13 17:22:42 +02:00
Philip Rebohle c41f380f3e
[d3d10] Implement (VS|GS|PS)(Set|Get)ShaderResources 2018-08-13 17:22:42 +02:00
Philip Rebohle 0052ff236b
[d3d10] Implement D3D10ShaderResourceView 2018-08-13 17:22:42 +02:00
Philip Rebohle 04fa062eba
[d3d10] Add GetD3D10ResourceFromView and GetD3D10Resource helpers 2018-08-13 17:22:42 +02:00
Philip Rebohle ccab8a56ee
[d3d10] Implement RS(Set|Get)State 2018-08-13 17:22:42 +02:00
Philip Rebohle ddb2a7bd59
[d3d10] Implement D3D10RasterizerState 2018-08-13 17:22:42 +02:00
Philip Rebohle 2a2079114a
[d3d10] Implement OM(Set|Get)DepthStencilState 2018-08-13 17:22:42 +02:00
Philip Rebohle 68bfacfcaa
[d3d10] Implement D3D10DepthStencilState 2018-08-13 17:22:41 +02:00
Philip Rebohle 2b5272134c
[d3d10] Implement OM(Set|Get)BlendState 2018-08-13 17:22:41 +02:00
Philip Rebohle f2381ac4eb
[d3d10] Implement D3D10BlendState 2018-08-13 17:22:41 +02:00
Philip Rebohle 5a84f35d08
[d3d10] Implement IA(Set|Get)InputLayout 2018-08-13 17:22:41 +02:00
Philip Rebohle ace06ce697
[d3d10] Implement D3D10InputLayout 2018-08-13 17:22:41 +02:00
Philip Rebohle 9260ec67f2
[d3d10] Implement resource update, copy and resolve functions 2018-08-13 17:22:41 +02:00
Philip Rebohle 8b87db87f8
[d3d10] Add GetD3D11Resource helper 2018-08-13 17:22:41 +02:00
Philip Rebohle a8f3a5219b
[d3d10] Implement (VS|GS|PS)(Set|Get)Samplers 2018-08-13 17:22:41 +02:00
Philip Rebohle 759ff737a4
[d3d10] Implement D3D10SamplerState 2018-08-13 17:22:41 +02:00
Philip Rebohle 7f357217b9
[d3d10] Implement (VS|GS|PS)(Set|Get)ConstantBuffers 2018-08-13 17:22:41 +02:00
Philip Rebohle 753769aee4
[d3d10] Implement SOSetTargets and SOGetTargets 2018-08-13 17:22:41 +02:00
Philip Rebohle d13fdf8884
[d3d10] Implement IA(Set|Get)(Vertex|Index)Buffers 2018-08-13 17:22:41 +02:00
Philip Rebohle 553c90307a
[d3d10] Implement D3D10Buffer 2018-08-13 17:22:41 +02:00
Philip Rebohle 7754cb1115
[d3d10] Implement RS(Set|Get)(Viewports|ScissprRects) 2018-08-13 17:22:41 +02:00
Philip Rebohle c80156ebce
[d3d10] Implement IASet|GetPrimitiveTopology 2018-08-13 17:22:41 +02:00
Philip Rebohle b97f9a702a
[d3d10] Implement D3D10 texture interfaces 2018-08-13 17:22:36 +02:00
Philip Rebohle 257ac9ad6c
[dxgi] Report ID3D10Device and ID3D10Device1 as supported 2018-08-13 17:22:03 +02:00
Philip Rebohle 1e857f6342
[d3d10] Add D3D10Device stub 2018-08-13 17:22:03 +02:00
Philip Rebohle 8c1063b512
[d3d10] Add build files and implement D3D10CreateDevice functions 2018-08-13 17:22:00 +02:00
Andrew Eikum 262797f9d5 [dxgi] SetFullscreenState succeeds if not changing state
This fixes an error dialog on exiting Unreal Engine 4 games.
2018-08-13 17:06:55 +02:00