Skip to content
  • ReinUsesLisp's avatar
    fixed_pipeline_state: Define structure and loaders · 4a3026b1
    ReinUsesLisp authored
    The intention behind this hasheable structure is to describe the state
    of fixed function pipeline state that gets compiled to a single graphics
    pipeline state object. This is all dynamic state in OpenGL but Vulkan
    wants it in an immutable state, even if hardware can edit it freely.
    
    In this commit the structure is defined in an optimized state (it uses
    booleans, has paddings and many data entries that can be packed to
    single integers). This is intentional as an initial implementation that
    is easier to debug, implement and review. It will be optimized in later
    stages, or it might change if Vulkan gets more dynamic states.
    4a3026b1
Loading