"you can't debug print shaders" oh yeah? well check this shit out

that's right, a whole ass view matrix, served directly from the GPU

I'm using the R1 single-channel 1bpp 2D texture format for this one

@acegikmo Neat trick!

For printing to actual console did you explore maybe writing debug messages to a structured GPU buffer and reading back async on the CPU and then just displaying in normal tty console?

@boggo @acegikmo Unity’s SRP libraries already have this functionality somewhere
@aras @boggo @acegikmo what?! Really?!!
Graphics/Packages/com.unity.render-pipelines.core/ShaderLibrary/ShaderDebugPrint.hlsl at master · Unity-Technologies/Graphics

Unity Graphics - Including Scriptable Render Pipeline - Unity-Technologies/Graphics

GitHub