Shader compiler error

Report bugs and issues

Shader compiler error

Postby dwilki » 2015-11-06 07:05

Urg, everything working so well, until today. I get the following error when exporting (do a daily export). I've tried:
--re-installing shiva 1.9.2 advanced
--removing and then re-installing the DX June 10th DX SDK
--restoring my materials folder from the last working version
--restoring models and meshes folders from last working version
--clearing cache
-deleting DefaultExportProfile

Nothing seems to fix this. Any suggestions are appreciated. Is this a font compile error? "Conversion from larger type to....":

[* Error ] {Export }Error compiling shader: G0000000010200001.vps
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(23,17): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(25,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(26,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(27,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(28,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(30,9): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(31,9): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(32,9): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(33,9): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(34,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(35,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(36,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(37,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(40,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(41,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(42,11): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(44,12): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(45,12): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(46,12): warning X3205: conversion from larger type to smaller, possible loss of data
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(50,12): warning X3206: implicit truncation of vector type
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(52,12): warning X3206: implicit truncation of vector type
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(54,12): warning X3206: implicit truncation of vector type
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(56,12): warning X3206: implicit truncation of vector type
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(12,2): warning X3554: unknown attribute optimizeAutoZ, or attribute invalid for this statement, valid attributes are: clipplanes
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(40,11): error X4000: variable 'rTmp4' used without having been completely initialized
[* Error ] {Export }E:\1-Project\ABYSS\Build\DefaultExportProfile\Resources\Shaders\2\G0000000010200001V_7048f6b1.vps(44,12): error X4000: variable 'rTmp5' used without having been completely initialized
[* Error ] {Export }
[* Error ] {Export }compilation failed; no code produced
[* Error ] {Export }Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
[* Error ] {Export }Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
dwilki
Expert Boarder
Expert Boarder
 
Posts: 105
Joined: 2008-07-16 20:57

Re: Shader compiler error

Postby dwilki » 2015-11-06 16:08

Found a post with the following steps that resolved the issue:

- delete the "build" folder in your project directory
- clear the shader cache (game module -> settings -> clear shaders history)
- recompile (game module -> game -> compile)
- build (game module -> export)

Problem solved!
dwilki
Expert Boarder
Expert Boarder
 
Posts: 105
Joined: 2008-07-16 20:57

Re: Shader compiler error

Postby broozar » 2015-11-11 22:29

beta 3.1 should get rid of all the shader compilation errors at export, please download, test and report back.
User avatar
broozar
Administrator
Administrator
 
Posts: 4172
Joined: 2007-09-16 10:22
Location: Berlin - Germany


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron