Original Post
Hi I searched but had problems to find this info. I want to incorporate some asm code in my HLSL code. The head of my function looks like this: void PSCSM( in float dist, in float4x4 coordLightSpaceArray, out float shadow) I tried to use asm_fragment together with input registers v_dist and v_coordLightSpaceArray But I get the error message: "error X2005: Invalid input register 'v_dist' specified" Can I solve this somehow? Or can I use implementation with the "asm" keyword instead? How do I bind HLSL variables to the registers in that case? If anybody knew the answers to my questions I would be sooo thrilled :) Thanks [Edited by - 51mon on August 30, 2009 3:56:30 PM]