Hi again...

seems like the issue has something to do with the shadercompile.exe from 
the SDK.
The final command which eats up the whole cpu is:
D:\PROGRA~1\Steam\STEAMA~1\my_username\SOURCE~2\bin\ORANGE~1\bin\shadercompile.exe
 
-nompi -nop4 -game "D:\progra~1\steam\steama~1\source~1\my_mod" 
-shaderpath "E:\dev\mod\src\materialsystem\stdshaders"

I added a "-verbose" to get a look what's going on there.
shadercompile.exe first copies some steamfiles (tier0.dll, etc), some .h 
files and all the fxc files in stdshaders to temporary folder on the c: 
drive.

Then the output where I think it's doing something wrong.
[-------------------------]
Compiling 482,605,325 commands in 14,068,261 static combos.
running: "fxc.exe /DTOTALSHADERCOMBOS=452984832 /DCENTROIDMASK=12 
/DNUMDYNAMICCOMBOS=48 /DFLAGS=0x0 /DSHADERCOMBO=429431247 
/DFASTPATHENVMAPCONTRAST=1 /DFASTPATH=1 /DWRITEWATERFOGTODESTALPHA=1 
/DPIXELFOGTYPE=1 /DLIGHTING_PREVIEW=0 /DMASKEDBLENDING=0 
/DBASETEXTURE2=0 /DDETAILTEXTURE=1 /DBUMPMAP=0 /DBUMPMAP2=0 /DCUBEMAP=1 
/DENVMAPMASK=0 /DBASEALPHAENVMAPMASK=0 /DSELFILLUM=0 
/DNORMALMAPALPHAENVMAPMASK=1 /DDIFFUSEBUMPMAP=0 /DBASETEXTURENOENVMAP=0 
/DBASETEXTURE2NOENVMAP=0 /DWARPLIGHTING=0 /DFANCY_BLENDING=0 
/DSEAMLESS=0 /DOUTLINE=1 /DSOFTEDGES=1 /DBUMPMASK=0 
/DNORMAL_DECODE_MODE=0 /DNORMALMASK_DECODE_MODE=0 /DDETAIL_BLEND_MODE=11 
/Dmain=main /Emain /Tps_2_0 /DSHADER_MODEL_PS_2_0=1 /LD /Foshader.o 
SDK_lightmappedgeneric_ps2x.fxc>output.txt 2>&1
"
[shadercompile] Using new faster Vitaliy's implementation.

Compiling  SDK_lightmappedgeneric_ps20  [ 9437183 remaining ] ...        

Compiling  SDK_lightmappedgeneric_ps20  [ 9193607 remaining ] ...        

Compiling  SDK_lightmappedgeneric_ps20  [ 8968414 remaining ] ...        
running: "fxc.exe /DTOTALSHADERCOMBOS=452984832 /DCENTROIDMASK=12 
/DNUMDYNAMICCOMBOS=48 /DFLAGS=0x0 /DSHADERCOMBO=429431246 
/DFASTPATHENVMAPCONTRAST=0 /DFASTPATH=1 /DWRITEWATERFOGTODESTALPHA=1 
/DPIXELFOGTYPE=1 /DLIGHTING_PREVIEW=0 /DMASKEDBLENDING=0 
/DBASETEXTURE2=0 /DDETAILTEXTURE=1 /DBUMPMAP=0 /DBUMPMAP2=0 /DCUBEMAP=1 
/DENVMAPMASK=0 /DBASEALPHAENVMAPMASK=0 /DSELFILLUM=0 
/DNORMALMAPALPHAENVMAPMASK=1 /DDIFFUSEBUMPMAP=0 /DBASETEXTURENOENVMAP=0 
/DBASETEXTURE2NOENVMAP=0 /DWARPLIGHTING=0 /DFANCY_BLENDING=0 
/DSEAMLESS=0 /DOUTLINE=1 /DSOFTEDGES=1 /DBUMPMASK=0 
/DNORMAL_DECODE_MODE=0 /DNORMALMASK_DECODE_MODE=0 /DDETAIL_BLEND_MODE=11 
/Dmain=main /Emain /Tps_2_0 /DSHADER_MODEL_PS_2_0=1 /LD /Foshader.o 
SDK_lightmappedgeneric_ps2x.fxc>output.txt 2>&1
"
[... and endlessly so on...]
[---------------------]

So it seems it calls fxc.exe a billion times.
But the process never appears in the task manager or in process 
explorer. The output.txt is also never created.
I hate it, that this tool is lacking documentation. :(

Ideas?

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to