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
[...]