summaryrefslogtreecommitdiff
path: root/Scripts/generate_diffs.sh
blob: cb3ada592d88a1e1228b464517fb712f5f370184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /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
#
# https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/d3d11-graphics-reference-sm5

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