| 116 | } |
| 117 | |
| 118 | ALResult CreateSampleVolumeTexturePS( Tr2ShaderAL& shader, Tr2PrimaryRenderContextAL& renderContext ) |
| 119 | { |
| 120 | uint8_t bytecode[] = { |
| 121 | #include INCLUDE_SHADER_CODE( SampleVolumeTexture.ps ) |
| 122 | }; |
| 123 | |
| 124 | auto input = Tr2ShaderSignatureAL() |
| 125 | .Add( Tr2ShaderRegisterAL::CONSTANT_BUFFER, 0 ) |
| 126 | .Add( Tr2ShaderRegisterAL::SRV_TEXTURE3D, 0 ) |
| 127 | .Add( Tr2ShaderRegisterAL::SAMPLER, 0 ); |
| 128 | |
| 129 | return shader.Create( PIXEL_SHADER, bytecode, input, "", renderContext ); |
| 130 | } |
| 131 | |
| 132 | #if TRINITY_PLATFORM_SUPPORTS_UNORDERED_ACCESS |
| 133 |
no test coverage detected