Commit Graph

1667 Commits

Author SHA1 Message Date
pchome 9220835171 [build] Mute dllexport GCC warnings for winelib
GCC produces a lot of warnings about ignored dllimport/dllexport attributes.
Detecting real problems from build output will be easier with this warnings turned off.
 
`man winegcc`
> The dllimport/dllexport attributes are not supported at the moment,
> due to lack of support for these features in the ELF version of gcc.

`man gcc`
> -Wno-attributes
> Do not warn if an unexpected "__attribute__" is used,
> such as unrecognized attributes, function attributes applied to variables, etc.
> This does not stop errors for incorrect use of supported attributes.
2018-08-16 12:39:16 +02:00
Philip Rebohle f75e3ad13f
[d3d11] Fix silly GenerateMips bug 2018-08-16 00:57:16 +02:00
Philip Rebohle c3c7a4172d
[d3d11] Fix interface query for ID3D11Predicate 2018-08-16 00:13:40 +02:00
Mikhail Paulyshka 2a96d717d3 [d3d11] fixed compilation with MinGW-headers 6.0.0 or greater 2018-08-15 22:02:39 +02:00
Mikhail Paulyshka 3e2a4baf63 [tests] fix dxbc-disasm with MSVC 2018-08-15 21:59:44 +02:00
Mikhail Paulyshka 9cce41394b [build] partially revert previous d3dcompiler related change 2018-08-15 21:59:44 +02:00
Philip Rebohle 3df313bf6d
[meta] Revert accidental d3dcompiler version change 2018-08-15 20:41:56 +02:00
Philip Rebohle e271bc490e
[d3d11] Enable ExtendedDoublesShaderInstructions 2018-08-15 20:12:41 +02:00
Philip Rebohle e113392bb9
[dxbc] Implement DtoI, DtoU, ItoD and UtoD 2018-08-15 20:11:40 +02:00
Philip Rebohle 86fbba06be
[dxbc] Implement DDiv, DFma and DRcp 2018-08-15 20:11:40 +02:00
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