Created
July 4, 2015 22:45
-
-
Save zao/7fe4077e42e1ab1f0440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use v5.10; | |
my $fxc = "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\fxc.exe"; | |
system($fxc, qw( testVS.hlsl /O3 /Zi /Fo Z:\\public_html\\fvd\\test.vs.cso /nologo /T vs_5_0 /E main )); | |
die "vs compile failed: $?" if $?; | |
system($fxc, qw( testPS.hlsl /O3 /Zi /Fo Z:\\public_html\\fvd\\test.ps.cso /nologo /T ps_5_0 /E main )); | |
die "ps compile failed: $?" if $?; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment