diff options
author | CrystalPT <CrystalPT@svn> | 2010-07-17 00:32:11 +0000 |
---|---|---|
committer | CrystalPT <CrystalPT@svn> | 2010-07-17 00:32:11 +0000 |
commit | 2bb6f1aa7e01e5629ad11825aea22084dbade21b (patch) | |
tree | 1f87696f17781d86d1e1464af532f3306a9eb25e /system/shaders | |
parent | f548f373793d7fe3344087c2715ed0b9d3b20d1b (diff) |
[WIN32] added minimal shader to test D3D loading
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31866 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system/shaders')
-rw-r--r-- | system/shaders/testshader.fx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/system/shaders/testshader.fx b/system/shaders/testshader.fx new file mode 100644 index 0000000000..945d6e938f --- /dev/null +++ b/system/shaders/testshader.fx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2010 Team XBMC + * http://www.xbmc.org + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with XBMC; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +float4 TEST() : COLOR +{ + return float4(0.0, 0.0, 0.0, 0.0); +} + +technique TEST_T +{ + pass P0 + { + PixelShader = compile ps_2_0 TEST(); + } +}; |