Revert "Revert "[HORS-US] Fix Windows compilation""

This reverts commit a273418031b955f919753d5efb333fc9a996057d.
Revert "[REVERT-ME] Add debug output for shader operation"

This reverts commit 192c862d5477708a713005f0c33da9e128c6e0f6.