-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathD3DShaders.rules
47 lines (47 loc) · 1.37 KB
/
D3DShaders.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
Name="Direct3D shaders"
Version="8.00"
>
<Rules>
<CustomBuildRule
Name="Vertex shader compiler"
DisplayName="Vertex shader compiler"
CommandLine="fxc [debugging] /Tvs_2_0 /Fh"$(IntDir)\$(InputName).vfxobj" /Vn VFX_$(InputName) "[inputs]""
Outputs=""$(IntDir)\$(InputName).vfxobj""
FileExtensions="*.vfx"
ExecutionDescription="Compiling vertex shader"
>
<Properties>
<StringProperty
Name="debugging"
DisplayName="Debugging"
Description="Debugging switches"
Switch="/Od /Zi"
DefaultValue=" "
Delimited="true"
Inheritable="true"
/>
</Properties>
</CustomBuildRule>
<CustomBuildRule
Name="Pixel shader compiler"
DisplayName="Pixel shader compiler"
CommandLine="fxc [debugging] /Tps_2_0 /Fh"$(IntDir)\$(InputName).pfxobj" /Vn PFX_$(InputName) "[inputs]""
Outputs=""$(IntDir)\$(InputName).pfxobj""
FileExtensions="*.pfx"
ExecutionDescription="Compiling pixel shader"
>
<Properties>
<StringProperty
Name="debugging"
DisplayName="Debugging"
Description="Debugging switches"
Switch="/Od /Zi"
Delimited="true"
Inheritable="true"
/>
</Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>