Coder Social home page Coder Social logo

dxvk-ags's Introduction

AGS D3D11 extensions for DXVK

Provides a rudimentary proof-of-concept implementation of some of the D3D11 extensions available in the AMD AGS SDK for DXVK. Requires DXVK Version 1.2 or later.

The currently supported features include:

  • Depth bounds test
  • Multi-Draw Indirect
  • Multi-Draw Indirect with Indirect Count
  • UAV Overlap

Motivation

This project was started as an experiment to test whether DXVK can benefit from AMD optimizations in Capcom's RE Engine, specifically in Resident Evil 2 and Devil May Cry 5.

Build instructions

Like DXVK, this library is being built as a Windows DLL using MinGW, and has essentially the same build requirements.

In order to build the DLL for the default AGS version, currently 5.2, run:

meson --cross-file build-win64.txt --buildtype release --prefix /your/path build
cd build
ninja install

The compiled DLL will be located in /your/path/bin/amd_ags_x64.dll.

A different version can be built by setting the ags-version build option as follows:

cd build
meson configure -Dags-version=<version>

32-bit builds, as well as winelib builds and MSVC are not supported, and will not be supported due to the experimental nature of the project.

How to use

Games that support AGS usually come with their own copy of amd_ags_x64.dll. This file needs to be replaced with your built DLL.

Note that the version you build must match the version of the DLL that the game ships. AGS versions are not backwards-compatible. Version 5.2 is used in the aforementioned RE Engine games.

Note: The current implementation is very crude and may cause bugs or crashes in some games.

Expected results

On an RX 480, depending on the graphics settings and resolution, performance in Resident Evil 2 improves by 1-3% with AGS optimizations enabled.

dxvk-ags's People

Contributors

doitsujin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dxvk-ags's Issues

update

Hello,

Is there any chance to update the code to support AGS v6 and release it? Thanks in advance.

Which of the dll should be replaced?

There are 3 dlls in the path, which one should be replaced?

.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/RESIDENT EVIL 2  BIOHAZARD RE2/prefix/drive_c/windows/syswow64/amd_ags_x64.dll
.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/RESIDENT EVIL 2  BIOHAZARD RE2/prefix/drive_c/windows/system32/amd_ags_x64.dll
.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/RESIDENT EVIL 2  BIOHAZARD RE2/amd_ags_x64.dll

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.