[D3D12] Rename shaders/bin to shaders/dxbc because of .gitignore

This commit is contained in:
Triang3l
2018-09-16 20:35:10 +03:00
parent ae3d0bbb57
commit be2d522e19
111 changed files with 15226 additions and 37 deletions

View File

@@ -756,7 +756,7 @@ class BuildHlslCommand(Command):
name='buildhlsl',
help_short='Generates Direct3D shader binaries and header files.',
help_long='''
Generates the .cso/.h binaries under src/xenia/*/d3d12/shaders/bin/.
Generates the .cso/.h binaries under src/xenia/*/d3d12/shaders/dxbc/.
Run after modifying any .vs.hlsl/.ps.hlsl/.gs.hlsl/.cs.hlsl files.
''',
*args, **kwargs)
@@ -792,7 +792,7 @@ class BuildHlslCommand(Command):
src_name = os.path.splitext(os.path.basename(src_file))[0]
identifier = os.path.basename(src_file)[:-5].replace('.', '_')
bin_path = os.path.join(os.path.dirname(src_file), 'bin')
bin_path = os.path.join(os.path.dirname(src_file), 'dxbc')
if not os.path.exists(bin_path):
os.mkdir(bin_path)
cso_file = os.path.join(bin_path, identifier) + '.cso'