summaryrefslogtreecommitdiff
path: root/Scripts/generate_diffs.sh
blob: fa95217f5eacb333fe4dba4a619dc0f3e58e282d (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/env sh

# https://github.com/bo3b/3Dmigoto
# Disassemble: cmd_Decompiler.exe -d shader.dxbc (saved from RenderDoc).
# Assemble:    cmd_Decompiler.exe -a shader.asm (edited)
#
# Compile: dxc.exe shader.hlsl -T [v|p|c]s_5_0

#wine cmd_Decompiler.exe -d ../Shaders/Original/*.dxbc
#wine cmd_Decompiler.exe -d ../Shaders/*.shdr
#diff -u orig.asm edit.asm