IPixShaderProfilingCompilation::GetCompilerOutput method

Gets the compiler output (warnings or errors) emitted during compilation. May be empty if no output was generated.

Syntax

HRESULT GetCompilerOutput(
    PIX_SHADER_STAGE stage,
    UINT32 index,
    LPCWSTR * compilerOutput);

Parameters

stage

No description provided.

index

No description provided.

compilerOutput

No description provided.

Returns

S_OK on success, otherwise an error code.

Remarks

Compiler output can exist whether or not the compilation was successful. On success this may be warnings and on failure this may be warnings and/or errors

See also