现在的位置: 首页 > 综合 > 正文

不能在条件分支里使用texld/texldb/texldp/dsx/dsy指令

2012年04月09日 ⁄ 综合 ⁄ 共 401字 ⁄ 字号 评论关闭

 

Shader error in 'Example/Diffuse Texture': D3D shader assembly failed with: (19): error X6077: texld/texldb/texldp/dsx/dsy instructions with r# as source cannot be used inside dynamic conditional 'if' blocks, dynamic conditional subroutine calls, or loop/rep with break*.

Shader Assembly: ps_3_0
; 12 ALU, 2 TEX, 1 FLOW
dcl_2d s0
[...]

 

http://forum.unity3d.com/threads/63120-ShaderModel-3.0-amp-Texture-accesss-inside-dynamic-conditional-if-blocks

抱歉!评论已关闭.