Original Post
Hi all, I'm working on DirectX fx files. What I exactly want is to generate assembly shaders from the fx files. For this I'm using the 'fxc' tool.. I'm using an ATI Radeon 9200 card and D3DX9 Shader Compiler 9.12.589.0000 Unfortunately I get the following error for almost all my fx files (though I tried to reduce the number of constants used in the file) error X4507: maximum constant register index exceeded - Try reducing number of constants referenced How do I know that how many constants I can use in my shader? Interestingly, the same fx file was compiled without any error when I used the compiler D3DX9 Shader Compiler 5.04.00.3900 Why is this happening? Thanks in advance ;-)