MCPcopy Create free account
hub / github.com/carbonengine/trinity / CreateLoadMsaaTexturePS

Function CreateLoadMsaaTexturePS

trinityal/tests/Rendering.cpp:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148#if TRINITY_PLATFORM_SUPPORTS_MSAA_SAMPLE
149
150ALResult CreateLoadMsaaTexturePS( Tr2ShaderAL& shader, Tr2PrimaryRenderContextAL& renderContext )
151{
152 uint8_t bytecode[] = {
153#include INCLUDE_SHADER_CODE( LoadMsaaTexture.ps )
154 };
155
156 auto input = Tr2ShaderSignatureAL()
157 .Add( Tr2ShaderRegisterAL::SRV_TEXTURE2DMS, 0 );
158
159 return shader.Create( PIXEL_SHADER, bytecode, input, "", renderContext );
160}
161
162#endif
163

Callers 1

TEST_FFunction · 0.85

Calls 3

AddMethod · 0.45
CreateMethod · 0.45

Tested by

no test coverage detected