Open Mine228 opened 6 years ago
Does the problem go away if you remove your new constants?
It would seem so. It says in the comments that constant 27 is "free" but it will "blow constant limits" if used. I've read somewhere while googling that someone said the constant limit should be around 256.
So my mod hl2.exe started freezing up when I exit the game, it keeps displaying the last rendered frame of the game and takes up 50% of my cpu (2core cpu), it makes no changed to memory allocation. I've added an additional pixel shader constant to "shader_constant_register_map.h" and "cpp_shader_constant_registermap.h", and I have a feeling that it might be the problem. Or perhaps the problem is somehow related to my shader.cpp files where I actually link that constant. Any ideas?