Skip to content

Commit

Permalink
AGS 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rys Sommefeldt committed Nov 22, 2018
1 parent fe3d0ce commit 735302e
Show file tree
Hide file tree
Showing 39 changed files with 150 additions and 63 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

**Note:** See `ags_lib\CHANGELOG.md` for changes to the core AGS library.

### v5.3.0 - 2018-11-22
* DirectX 11 deferred context support for our Multi Draw Indirect and UAV overlap extensions
* New helper function to better work with Radeon Software Version data
* New FreeSync 2 gamma 2.2 mode, using a smaller swapchain format compared to FreeSync 2 scRGB

### v5.2.1 - 2018-08-09
* Fix for app registration for DX12 UWP apps

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ In addition to the library itself, the AGS SDK includes several samples to demon
<a href="https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/releases/latest/"><img src="http://gpuopen-librariesandsdks.github.io/media/latest-release-button.svg" alt="Latest release" title="Latest release"></a>
</div>

### What's new in AGS 5.3

Version 5.3 adds DirectX 11 deferred context support for our MultiDrawIndirect and UAV overlap extensions, along with a helper function to let your app determine if the installed driver meets your game's minimum driver version requirements. If you're a Vulkan user, you can pair that with our machine readable [AMD Vulkan versions](https://github.com/GPUOpen-Drivers/amd-vulkan-versions) database, to get more information about the Vulkan implementation in our client driver.

Lastly, there's a new FreeSync 2 gamma 2.2 mode. It uses a 10-bit (per RGB component, 2-bit alpha) swapchain, as opposed to the 16-bit (per RGB component, 16-bit alpha) swapchain needed for FreeSync 2 scRGB.

### What's new in AGS 5.2
Version 5.2 adds support for app registration in DirectX 12. App registration lets you give more information about your game or application to our driver, which can then use that (ideally unique) information to better support the game or app if we need to make driver-side changes to help things run as efficiently and correctly as possible.

Expand Down
4 changes: 4 additions & 0 deletions ags_lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# AMD AGS Library Changelog

### v5.3.0 - 2018-11-22
* DirectX 11 deferred context support for our Multi Draw Indirect and UAV overlap extensions
* New helper function to better work with `radeonSoftwareVersion` data

### v5.2.1 - 2018-08-09
* Fix for app registration for DX12 UWP apps

Expand Down
Binary file modified ags_lib/doc/amd_ags.chm
Binary file not shown.
117 changes: 70 additions & 47 deletions ags_lib/inc/amd_ags.h

Large diffs are not rendered by default.

Binary file modified ags_lib/lib/amd_ags_uwp_x64.dll
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_uwp_x64.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_uwp_x86.dll
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x64.dll
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x64.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x64_2015_MD.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x64_2015_MT.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x64_2017_MD.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x64_2017_MT.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x86.dll
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x86.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x86_2015_MD.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x86_2015_MT.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x86_2017_MD.lib
Binary file not shown.
Binary file modified ags_lib/lib/amd_ags_x86_2017_MT.lib
Binary file not shown.
3 changes: 2 additions & 1 deletion ags_sample/build/AGSSample_2015.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>AGSSample</RootNamespace>
<ProjectName>AGSSample</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down Expand Up @@ -114,6 +114,7 @@ xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\AGSSample.cpp" />
Expand Down
3 changes: 3 additions & 0 deletions ags_sample/build/AGSSample_2015.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\AGSSample.cpp">
Expand Down
3 changes: 2 additions & 1 deletion ags_sample/build/AGSSample_2017.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>AGSSample</RootNamespace>
<ProjectName>AGSSample</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down Expand Up @@ -114,6 +114,7 @@ xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\AGSSample.cpp" />
Expand Down
3 changes: 3 additions & 0 deletions ags_sample/build/AGSSample_2017.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\AGSSample.cpp">
Expand Down
29 changes: 29 additions & 0 deletions ags_sample/src/AGSSample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,24 @@ void PrintDisplayInfo( const AGSGPUInfo& gpuInfo )
}


void testDriver( const char* driver, unsigned int driverToCompareAgainst )
{
AGSDriverVersionResult result = agsCheckDriverVersion( driver, driverToCompareAgainst );

int major = (driverToCompareAgainst & 0xFFC00000) >> 22;
int minor = (driverToCompareAgainst & 0x003FF000) >> 12;
int patch = (driverToCompareAgainst & 0x00000FFF);

if ( result == AGS_SOFTWAREVERSIONCHECK_UNDEFINED )
{
printf( "Driver check could not determine the driver version for %s\n", driver );
}
else
{
printf( "Driver check shows the installed %s driver is %s the %d.%d.%d required version\n", driver, result == AGS_SOFTWAREVERSIONCHECK_OK ? "newer or the same as" : "older than", major, minor, patch );
}
}

int main(int , char**)
{
// Enable run-time memory check for debug builds.
Expand All @@ -157,6 +175,17 @@ int main(int , char**)
displayIndex++;
}

{
printf( "\n" );
testDriver( "18.8.randombetadriver", AGS_MAKE_VERSION( 18, 8, 2 ) );
testDriver( "18.8.123randomdriver", AGS_MAKE_VERSION( 18, 8, 2 ) );
testDriver( "18.9.randomdriver", AGS_MAKE_VERSION( 18, 8, 2 ) );
testDriver( "18.8.2", AGS_MAKE_VERSION( 18, 8, 2 ) );
testDriver( "18.8.2", AGS_MAKE_VERSION( 18, 8, 1 ) );
testDriver( "18.8.2", AGS_MAKE_VERSION( 18, 8, 3 ) );
printf( "\n" );
}

AGSGPUInfo gpuInfo;

AGSConfiguration config = {};
Expand Down
3 changes: 2 additions & 1 deletion crossfire_sample/build/CrossfireSample_2015.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>CrossfireSample</RootNamespace>
<ProjectName>CrossfireSample</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down Expand Up @@ -114,6 +114,7 @@ xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h" />
<ClInclude Include="..\src\CFXAPISample.h" />
<ClInclude Include="..\src\Window.h" />
</ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions crossfire_sample/build/CrossfireSample_2015.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\src\CFXAPISample.h">
<Filter>src</Filter>
</ClInclude>
Expand Down
3 changes: 2 additions & 1 deletion crossfire_sample/build/CrossfireSample_2017.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>CrossfireSample</RootNamespace>
<ProjectName>CrossfireSample</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down Expand Up @@ -114,6 +114,7 @@ xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h" />
<ClInclude Include="..\src\CFXAPISample.h" />
<ClInclude Include="..\src\Window.h" />
</ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions crossfire_sample/build/CrossfireSample_2017.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\src\CFXAPISample.h">
<Filter>src</Filter>
</ClInclude>
Expand Down
3 changes: 2 additions & 1 deletion eyefinity_sample/build/EyefinitySample_2015.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>EyefinitySample</RootNamespace>
<ProjectName>EyefinitySample</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down Expand Up @@ -126,6 +126,7 @@ xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h" />
<ClInclude Include="..\src\ResourceFiles\resource.h" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions eyefinity_sample/build/EyefinitySample_2015.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\src\ResourceFiles\resource.h">
<Filter>src\ResourceFiles</Filter>
</ClInclude>
Expand Down
3 changes: 2 additions & 1 deletion eyefinity_sample/build/EyefinitySample_2017.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>EyefinitySample</RootNamespace>
<ProjectName>EyefinitySample</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down Expand Up @@ -126,6 +126,7 @@ xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h" />
<ClInclude Include="..\src\ResourceFiles\resource.h" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions eyefinity_sample/build/EyefinitySample_2017.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\..\ags_lib\inc\amd_ags_ruyi.h">
<Filter>ags_lib\inc</Filter>
</ClInclude>
<ClInclude Include="..\src\ResourceFiles\resource.h">
<Filter>src\ResourceFiles</Filter>
</ClInclude>
Expand Down
2 changes: 1 addition & 1 deletion eyefinity_sample/dxut/Core/DXUT_2015.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>DXUT</RootNamespace>
<ProjectName>DXUT</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down
2 changes: 1 addition & 1 deletion eyefinity_sample/dxut/Core/DXUT_2017.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>DXUT</RootNamespace>
<ProjectName>DXUT</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down
2 changes: 1 addition & 1 deletion eyefinity_sample/dxut/Optional/DXUTOpt_2015.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>DXUTOpt</RootNamespace>
<ProjectName>DXUTOpt</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down
2 changes: 1 addition & 1 deletion eyefinity_sample/dxut/Optional/DXUTOpt_2017.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>DXUTOpt</RootNamespace>
<ProjectName>DXUTOpt</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Expand Down
6 changes: 1 addition & 5 deletions premake/ags_update_vs_files.bat
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,23 @@ cd %startdir%
pause
goto :EOF

:: run premake for vs2013, vs2015, and vs2017
:: run premake for vs2015, and vs2017
:createvsfiles
..\..\premake\premake5.exe vs2013
..\..\premake\premake5.exe vs2015
..\..\premake\premake5.exe vs2017
goto :EOF

:: run premake for dxut
:createdxutvsfiles
..\..\..\premake\premake5.exe vs2013
..\..\..\premake\premake5.exe vs2015
..\..\..\premake\premake5.exe vs2017
goto :EOF

:: delete unnecessary sln files
:cleandxutslnfiles
del /f /q Core\DXUT_2013.sln
del /f /q Core\DXUT_2015.sln
del /f /q Core\DXUT_2017.sln

del /f /q Optional\DXUTOpt_2013.sln
del /f /q Optional\DXUTOpt_2015.sln
del /f /q Optional\DXUTOpt_2017.sln
goto :EOF
2 changes: 1 addition & 1 deletion premake/amd_premake_util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ _AMD_AGS_BUILD_SUBDIRS = "%{_AMD_ACTION_ALL_CAPS}/%{cfg.platform}/%{cfg.buildcfg
_AMD_AGS_BUILD_SUBDIRS_BACKSLASH = "%{_AMD_ACTION_ALL_CAPS}\\%{cfg.platform}\\%{cfg.buildcfg}"

-- Specify WindowsTargetPlatformVersion here for VS2015
_AMD_WIN_SDK_VERSION = "10.0.15063.0"
_AMD_WIN_SDK_VERSION = "10.0.17763.0"

-- command lines for Visual Studio build events
_AMD_COPY_WIN_8_1_SDK_REDIST_TO_BIN = "if not exist \"..\\bin\\d3dcompiler_47.dll\" if exist \"$(ProgramFiles)\\Windows Kits\\8.1\\Redist\\D3D\\x64\\d3dcompiler_47.dll\" xcopy \"$(ProgramFiles)\\Windows Kits\\8.1\\Redist\\D3D\\x64\\d3dcompiler_47.dll\" \"..\\bin\" /H /R /Y > nul"
Expand Down

0 comments on commit 735302e

Please sign in to comment.