LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::dxbc::ProgramHeader Struct Reference

#include "llvm/BinaryFormat/DXContainer.h"

Public Member Functions

void swapBytes ()
 
uint8_t getMajorVersion ()
 
uint8_t getMinorVersion ()
 

Static Public Member Functions

static uint8_t getVersion (uint8_t Major, uint8_t Minor)
 

Public Attributes

uint8_t Version
 
uint8_t Unused
 
uint16_t ShaderKind
 
uint32_t Size
 
BitcodeHeader Bitcode
 

Detailed Description

Definition at line 121 of file DXContainer.h.

Member Function Documentation

◆ getMajorVersion()

uint8_t llvm::dxbc::ProgramHeader::getMajorVersion ( )
inline

Definition at line 133 of file DXContainer.h.

References Version.

◆ getMinorVersion()

uint8_t llvm::dxbc::ProgramHeader::getMinorVersion ( )
inline

Definition at line 134 of file DXContainer.h.

References Version.

◆ getVersion()

static uint8_t llvm::dxbc::ProgramHeader::getVersion ( uint8_t  Major,
uint8_t  Minor 
)
inlinestatic

Definition at line 135 of file DXContainer.h.

◆ swapBytes()

void llvm::dxbc::ProgramHeader::swapBytes ( )
inline

Member Data Documentation

◆ Bitcode

BitcodeHeader llvm::dxbc::ProgramHeader::Bitcode

Definition at line 126 of file DXContainer.h.

Referenced by swapBytes().

◆ ShaderKind

uint16_t llvm::dxbc::ProgramHeader::ShaderKind

Definition at line 124 of file DXContainer.h.

Referenced by swapBytes().

◆ Size

uint32_t llvm::dxbc::ProgramHeader::Size

Definition at line 125 of file DXContainer.h.

Referenced by swapBytes().

◆ Unused

uint8_t llvm::dxbc::ProgramHeader::Unused

Definition at line 123 of file DXContainer.h.

◆ Version

uint8_t llvm::dxbc::ProgramHeader::Version

Definition at line 122 of file DXContainer.h.

Referenced by getMajorVersion(), and getMinorVersion().


The documentation for this struct was generated from the following file: