Shaders not compiling ...
by PsychoParrot · in Torque Game Engine Advanced · 02/14/2007 (9:00 am) · 4 replies
I have a feeling that my two problems here are related ... this is the 'out of the box' vc7 project from the latest build of Torque (4_2)
My version of Torque will compile either in DEBUG or RELEASE without a problem ... but when I run in DEBUG mode, I get ..
Unable to compile pixel shader 'shaders/procedural/shaderP000.hlsl' coming from gfxd3dshader.cpp
Now, I saw a post about this that mentioned using forcePix to fix the issue, so I tried every combination I could think of (setting $pref::Video::forcedPixVersion to 1,2 and 3) but still it doesn't compile certain shaders (check the console post below) and in debug mode doesn't get past raising shader errors
$pref::Video::forcedPixVersion = 2;
$pref::Video::forcePixVersion = 1;
:(
My version of Torque will compile either in DEBUG or RELEASE without a problem ... but when I run in DEBUG mode, I get ..
Unable to compile pixel shader 'shaders/procedural/shaderP000.hlsl' coming from gfxd3dshader.cpp
Now, I saw a post about this that mentioned using forcePix to fix the issue, so I tried every combination I could think of (setting $pref::Video::forcedPixVersion to 1,2 and 3) but still it doesn't compile certain shaders (check the console post below) and in debug mode doesn't get past raising shader errors
$pref::Video::forcedPixVersion = 2;
$pref::Video::forcePixVersion = 1;
:(
PsychoParrot
Default Studio Name
Executing common/lighting/sgShaders.cs.
shaders/legacyTerrain/terrainDynamicLightingMaskV.hlsl(2,10): error X1507: failed to open source file: './shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
error X3539: ps_1_x is not supported in this version of the compiler
shaders/legacyTerrain/terrainDynamicLightingV.hlsl(2,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
error X3539: ps_1_x is not supported in this version of the compiler
shaders/atlas/atlasSurfaceDynamicLightingV.hlsl(2,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
error X3539: ps_1_x is not supported in this version of the compiler
shaders/lightingSystem/ShadowShaderV_1_1.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/ShadowBuilderShaderV.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/ShadowShaderV.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/ShadowShaderV.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/ShadowBuilderShaderV_1_1.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
error X3539: ps_1_x is not supported in this version of the compiler
shaders/lightingSystem/ShadowShaderV_1_1.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
error X3539: ps_1_x is not supported in this version of the compiler
shaders/lightingSystem/AlphaBloomShaderV.hlsl(7,10): error X1507: failed to open source file: 'shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/DownSample8x4ShaderV.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/DownSample8x4ShaderV.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/DownSample4x4BloomClampShaderV.hlsl(7,10): error X1507: failed to open source file: '../shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/BloomBlurShaderV.hlsl(7,10): error X1507: failed to open source file: 'shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/DRLShaderV.hlsl(7,10): error X1507: failed to open source file: 'shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
shaders/lightingSystem/DRLShaderV.hlsl(7,10): error X1507: failed to open source file: 'shdrConsts.h'
GFXD3DShader::initVertShader - unable to compile shader!
error X3539: ps_1_x is not supported in this version of the compiler
Executing common/client/materials.cs.
Thanks for any clues / help you guys can give me!!
SYSTEM INFO:
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp.050622-1524)
Language: English (Regional Setting: English)
System Manufacturer: Sony Corporation
System Model: VGN-SZ160P
BIOS: Ver 1.00PARTTBL{
Processor: Genuine Intel(R) CPU T2400 @ 1.83GHz (2 CPUs)
Memory: 1534MB RAM
Page File: 639MB used, 2790MB available
DirectX Version: DirectX 9.0c (4.09.0000.0904)
DX Setup Parameters: Not found
DxDiag Version: 5.03.2600.2180 32bit Unicode
Display Devices
Card name: NVIDIA GeForce Go 7400
Manufacturer: NVIDIA
Driver Date/Size: 6/20/2006 17:45:00, 3973760 bytes
Sound Devices
Description: SigmaTel Audio