| 132 | #if TRINITY_PLATFORM_SUPPORTS_UNORDERED_ACCESS |
| 133 | |
| 134 | ALResult CreateWriteToUavPS( Tr2ShaderAL& shader, Tr2PrimaryRenderContextAL& renderContext ) |
| 135 | { |
| 136 | uint8_t bytecode[] = { |
| 137 | #include INCLUDE_SHADER_CODE( WriteToUav.ps ) |
| 138 | }; |
| 139 | |
| 140 | auto input = Tr2ShaderSignatureAL() |
| 141 | .Add( Tr2ShaderRegisterAL::UAV_TEXTURE2D, 1 ); |
| 142 | |
| 143 | return shader.Create( PIXEL_SHADER, bytecode, input, "", renderContext ); |
| 144 | } |
| 145 | |
| 146 | #endif |
| 147 |
no test coverage detected