Skip to content

Decide how to handle array interfaces #211

Open
@spencer-lunarg

Description

certain interface variables have "array interfaces", things like

  • all Geometry input variables
  • variables marked with PerVertexKHR
  • etc

These will look like

layout(location = 0) pervertexEXT in float a[3];
layout(location = 1) pervertexEXT in float b[3];

and then

    1:
      spirv id  : 20
      location  : 0
      type      : float
      array     : [3]
      semantic  : 
      name      : a
      qualifier : 
    2:
      spirv id  : 44
      location  : 1
      type      : float
      array     : [3]
      semantic  : 
      name      : b
      qualifier : 

these "array interface" are what makes this legal, otherwise it would be invalid as a would consume Location [0, 1, 2]

It would be nice to express this, not sure if the best thing is marking these with a qualifier or other mechanism

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions