* Refactor shader GPU state and memory access * Fix NVDEC project build * Address PR feedback and add missing XML comments