Class SPV

java.lang.Object
org.lwjgl.util.shaderc.SPV

public class SPV extends Object
  • Field Details

    • SPV_SUCCESS

      public static final int SPV_SUCCESS
      See Also:
    • SPV_UNSUPPORTED

      public static final int SPV_UNSUPPORTED
      See Also:
    • SPV_END_OF_STREAM

      public static final int SPV_END_OF_STREAM
      See Also:
    • SPV_WARNING

      public static final int SPV_WARNING
      See Also:
    • SPV_FAILED_MATCH

      public static final int SPV_FAILED_MATCH
      See Also:
    • SPV_REQUESTED_TERMINATION

      public static final int SPV_REQUESTED_TERMINATION
      See Also:
    • SPV_ERROR_INTERNAL

      public static final int SPV_ERROR_INTERNAL
      See Also:
    • SPV_ERROR_OUT_OF_MEMORY

      public static final int SPV_ERROR_OUT_OF_MEMORY
      See Also:
    • SPV_ERROR_INVALID_POINTER

      public static final int SPV_ERROR_INVALID_POINTER
      See Also:
    • SPV_ERROR_INVALID_BINARY

      public static final int SPV_ERROR_INVALID_BINARY
      See Also:
    • SPV_ERROR_INVALID_TEXT

      public static final int SPV_ERROR_INVALID_TEXT
      See Also:
    • SPV_ERROR_INVALID_TABLE

      public static final int SPV_ERROR_INVALID_TABLE
      See Also:
    • SPV_ERROR_INVALID_VALUE

      public static final int SPV_ERROR_INVALID_VALUE
      See Also:
    • SPV_ERROR_INVALID_DIAGNOSTIC

      public static final int SPV_ERROR_INVALID_DIAGNOSTIC
      See Also:
    • SPV_ERROR_INVALID_LOOKUP

      public static final int SPV_ERROR_INVALID_LOOKUP
      See Also:
    • SPV_ERROR_INVALID_ID

      public static final int SPV_ERROR_INVALID_ID
      See Also:
    • SPV_ERROR_INVALID_CFG

      public static final int SPV_ERROR_INVALID_CFG
      See Also:
    • SPV_ERROR_INVALID_LAYOUT

      public static final int SPV_ERROR_INVALID_LAYOUT
      See Also:
    • SPV_ERROR_INVALID_CAPABILITY

      public static final int SPV_ERROR_INVALID_CAPABILITY
      See Also:
    • SPV_ERROR_INVALID_DATA

      public static final int SPV_ERROR_INVALID_DATA
      See Also:
    • SPV_ERROR_MISSING_EXTENSION

      public static final int SPV_ERROR_MISSING_EXTENSION
      See Also:
    • SPV_ERROR_WRONG_VERSION

      public static final int SPV_ERROR_WRONG_VERSION
      See Also:
    • SPV_ERROR_FNVAR

      public static final int SPV_ERROR_FNVAR
      See Also:
    • SPV_MSG_FATAL

      public static final int SPV_MSG_FATAL
      See Also:
    • SPV_MSG_INTERNAL_ERROR

      public static final int SPV_MSG_INTERNAL_ERROR
      See Also:
    • SPV_MSG_ERROR

      public static final int SPV_MSG_ERROR
      See Also:
    • SPV_MSG_WARNING

      public static final int SPV_MSG_WARNING
      See Also:
    • SPV_MSG_INFO

      public static final int SPV_MSG_INFO
      See Also:
    • SPV_MSG_DEBUG

      public static final int SPV_MSG_DEBUG
      See Also:
    • SPV_ENDIANNESS_LITTLE

      public static final int SPV_ENDIANNESS_LITTLE
      See Also:
    • SPV_ENDIANNESS_BIG

      public static final int SPV_ENDIANNESS_BIG
      See Also:
    • SPV_OPERAND_TYPE_NONE

      public static final int SPV_OPERAND_TYPE_NONE
      See Also:
    • SPV_OPERAND_TYPE_ID

      public static final int SPV_OPERAND_TYPE_ID
      See Also:
    • SPV_OPERAND_TYPE_TYPE_ID

      public static final int SPV_OPERAND_TYPE_TYPE_ID
      See Also:
    • SPV_OPERAND_TYPE_RESULT_ID

      public static final int SPV_OPERAND_TYPE_RESULT_ID
      See Also:
    • SPV_OPERAND_TYPE_MEMORY_SEMANTICS_ID

      public static final int SPV_OPERAND_TYPE_MEMORY_SEMANTICS_ID
      See Also:
    • SPV_OPERAND_TYPE_SCOPE_ID

      public static final int SPV_OPERAND_TYPE_SCOPE_ID
      See Also:
    • SPV_OPERAND_TYPE_LITERAL_INTEGER

      public static final int SPV_OPERAND_TYPE_LITERAL_INTEGER
      See Also:
    • SPV_OPERAND_TYPE_EXTENSION_INSTRUCTION_NUMBER

      public static final int SPV_OPERAND_TYPE_EXTENSION_INSTRUCTION_NUMBER
      See Also:
    • SPV_OPERAND_TYPE_SPEC_CONSTANT_OP_NUMBER

      public static final int SPV_OPERAND_TYPE_SPEC_CONSTANT_OP_NUMBER
      See Also:
    • SPV_OPERAND_TYPE_TYPED_LITERAL_NUMBER

      public static final int SPV_OPERAND_TYPE_TYPED_LITERAL_NUMBER
      See Also:
    • SPV_OPERAND_TYPE_LITERAL_FLOAT

      public static final int SPV_OPERAND_TYPE_LITERAL_FLOAT
      See Also:
    • SPV_OPERAND_TYPE_LITERAL_STRING

      public static final int SPV_OPERAND_TYPE_LITERAL_STRING
      See Also:
    • SPV_OPERAND_TYPE_SOURCE_LANGUAGE

      public static final int SPV_OPERAND_TYPE_SOURCE_LANGUAGE
      See Also:
    • SPV_OPERAND_TYPE_EXECUTION_MODEL

      public static final int SPV_OPERAND_TYPE_EXECUTION_MODEL
      See Also:
    • SPV_OPERAND_TYPE_ADDRESSING_MODEL

      public static final int SPV_OPERAND_TYPE_ADDRESSING_MODEL
      See Also:
    • SPV_OPERAND_TYPE_MEMORY_MODEL

      public static final int SPV_OPERAND_TYPE_MEMORY_MODEL
      See Also:
    • SPV_OPERAND_TYPE_EXECUTION_MODE

      public static final int SPV_OPERAND_TYPE_EXECUTION_MODE
      See Also:
    • SPV_OPERAND_TYPE_STORAGE_CLASS

      public static final int SPV_OPERAND_TYPE_STORAGE_CLASS
      See Also:
    • SPV_OPERAND_TYPE_DIMENSIONALITY

      public static final int SPV_OPERAND_TYPE_DIMENSIONALITY
      See Also:
    • SPV_OPERAND_TYPE_SAMPLER_ADDRESSING_MODE

      public static final int SPV_OPERAND_TYPE_SAMPLER_ADDRESSING_MODE
      See Also:
    • SPV_OPERAND_TYPE_SAMPLER_FILTER_MODE

      public static final int SPV_OPERAND_TYPE_SAMPLER_FILTER_MODE
      See Also:
    • SPV_OPERAND_TYPE_SAMPLER_IMAGE_FORMAT

      public static final int SPV_OPERAND_TYPE_SAMPLER_IMAGE_FORMAT
      See Also:
    • SPV_OPERAND_TYPE_IMAGE_CHANNEL_ORDER

      public static final int SPV_OPERAND_TYPE_IMAGE_CHANNEL_ORDER
      See Also:
    • SPV_OPERAND_TYPE_IMAGE_CHANNEL_DATA_TYPE

      public static final int SPV_OPERAND_TYPE_IMAGE_CHANNEL_DATA_TYPE
      See Also:
    • SPV_OPERAND_TYPE_FP_ROUNDING_MODE

      public static final int SPV_OPERAND_TYPE_FP_ROUNDING_MODE
      See Also:
    • SPV_OPERAND_TYPE_LINKAGE_TYPE

      public static final int SPV_OPERAND_TYPE_LINKAGE_TYPE
      See Also:
    • SPV_OPERAND_TYPE_ACCESS_QUALIFIER

      public static final int SPV_OPERAND_TYPE_ACCESS_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_FUNCTION_PARAMETER_ATTRIBUTE

      public static final int SPV_OPERAND_TYPE_FUNCTION_PARAMETER_ATTRIBUTE
      See Also:
    • SPV_OPERAND_TYPE_DECORATION

      public static final int SPV_OPERAND_TYPE_DECORATION
      See Also:
    • SPV_OPERAND_TYPE_BUILT_IN

      public static final int SPV_OPERAND_TYPE_BUILT_IN
      See Also:
    • SPV_OPERAND_TYPE_GROUP_OPERATION

      public static final int SPV_OPERAND_TYPE_GROUP_OPERATION
      See Also:
    • SPV_OPERAND_TYPE_KERNEL_ENQ_FLAGS

      public static final int SPV_OPERAND_TYPE_KERNEL_ENQ_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_KERNEL_PROFILING_INFO

      public static final int SPV_OPERAND_TYPE_KERNEL_PROFILING_INFO
      See Also:
    • SPV_OPERAND_TYPE_CAPABILITY

      public static final int SPV_OPERAND_TYPE_CAPABILITY
      See Also:
    • SPV_OPERAND_TYPE_FPENCODING

      public static final int SPV_OPERAND_TYPE_FPENCODING
      See Also:
    • SPV_OPERAND_TYPE_IMAGE

      public static final int SPV_OPERAND_TYPE_IMAGE
      See Also:
    • SPV_OPERAND_TYPE_FP_FAST_MATH_MODE

      public static final int SPV_OPERAND_TYPE_FP_FAST_MATH_MODE
      See Also:
    • SPV_OPERAND_TYPE_SELECTION_CONTROL

      public static final int SPV_OPERAND_TYPE_SELECTION_CONTROL
      See Also:
    • SPV_OPERAND_TYPE_LOOP_CONTROL

      public static final int SPV_OPERAND_TYPE_LOOP_CONTROL
      See Also:
    • SPV_OPERAND_TYPE_FUNCTION_CONTROL

      public static final int SPV_OPERAND_TYPE_FUNCTION_CONTROL
      See Also:
    • SPV_OPERAND_TYPE_MEMORY_ACCESS

      public static final int SPV_OPERAND_TYPE_MEMORY_ACCESS
      See Also:
    • SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE

      public static final int SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_ID

      public static final int SPV_OPERAND_TYPE_OPTIONAL_ID
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_IMAGE

      public static final int SPV_OPERAND_TYPE_OPTIONAL_IMAGE
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS

      public static final int SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER

      public static final int SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_LITERAL_NUMBER

      public static final int SPV_OPERAND_TYPE_OPTIONAL_LITERAL_NUMBER
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_TYPED_LITERAL_INTEGER

      public static final int SPV_OPERAND_TYPE_OPTIONAL_TYPED_LITERAL_INTEGER
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_LITERAL_STRING

      public static final int SPV_OPERAND_TYPE_OPTIONAL_LITERAL_STRING
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_ACCESS_QUALIFIER

      public static final int SPV_OPERAND_TYPE_OPTIONAL_ACCESS_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_CIV

      public static final int SPV_OPERAND_TYPE_OPTIONAL_CIV
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_FPENCODING

      public static final int SPV_OPERAND_TYPE_OPTIONAL_FPENCODING
      See Also:
    • SPV_OPERAND_TYPE_VARIABLE_ID

      public static final int SPV_OPERAND_TYPE_VARIABLE_ID
      See Also:
    • SPV_OPERAND_TYPE_VARIABLE_LITERAL_INTEGER

      public static final int SPV_OPERAND_TYPE_VARIABLE_LITERAL_INTEGER
      See Also:
    • SPV_OPERAND_TYPE_VARIABLE_LITERAL_INTEGER_ID

      public static final int SPV_OPERAND_TYPE_VARIABLE_LITERAL_INTEGER_ID
      See Also:
    • SPV_OPERAND_TYPE_VARIABLE_ID_LITERAL_INTEGER

      public static final int SPV_OPERAND_TYPE_VARIABLE_ID_LITERAL_INTEGER
      See Also:
    • SPV_OPERAND_TYPE_DEBUG_INFO_FLAGS

      public static final int SPV_OPERAND_TYPE_DEBUG_INFO_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_DEBUG_BASE_TYPE_ATTRIBUTE_ENCODING

      public static final int SPV_OPERAND_TYPE_DEBUG_BASE_TYPE_ATTRIBUTE_ENCODING
      See Also:
    • SPV_OPERAND_TYPE_DEBUG_COMPOSITE_TYPE

      public static final int SPV_OPERAND_TYPE_DEBUG_COMPOSITE_TYPE
      See Also:
    • SPV_OPERAND_TYPE_DEBUG_TYPE_QUALIFIER

      public static final int SPV_OPERAND_TYPE_DEBUG_TYPE_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_DEBUG_OPERATION

      public static final int SPV_OPERAND_TYPE_DEBUG_OPERATION
      See Also:
    • SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_INFO_FLAGS

      public static final int SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_INFO_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_BASE_TYPE_ATTRIBUTE_ENCODING

      public static final int SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_BASE_TYPE_ATTRIBUTE_ENCODING
      See Also:
    • SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_COMPOSITE_TYPE

      public static final int SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_COMPOSITE_TYPE
      See Also:
    • SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_TYPE_QUALIFIER

      public static final int SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_TYPE_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_OPERATION

      public static final int SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_OPERATION
      See Also:
    • SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_IMPORTED_ENTITY

      public static final int SPV_OPERAND_TYPE_CLDEBUG100_DEBUG_IMPORTED_ENTITY
      See Also:
    • SPV_OPERAND_TYPE_FPDENORM_MODE

      public static final int SPV_OPERAND_TYPE_FPDENORM_MODE
      See Also:
    • SPV_OPERAND_TYPE_FPOPERATION_MODE

      public static final int SPV_OPERAND_TYPE_FPOPERATION_MODE
      See Also:
    • SPV_OPERAND_TYPE_QUANTIZATION_MODES

      public static final int SPV_OPERAND_TYPE_QUANTIZATION_MODES
      See Also:
    • SPV_OPERAND_TYPE_OVERFLOW_MODES

      public static final int SPV_OPERAND_TYPE_OVERFLOW_MODES
      See Also:
    • SPV_OPERAND_TYPE_RAY_FLAGS

      public static final int SPV_OPERAND_TYPE_RAY_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_RAY_QUERY_INTERSECTION

      public static final int SPV_OPERAND_TYPE_RAY_QUERY_INTERSECTION
      See Also:
    • SPV_OPERAND_TYPE_RAY_QUERY_COMMITTED_INTERSECTION_TYPE

      public static final int SPV_OPERAND_TYPE_RAY_QUERY_COMMITTED_INTERSECTION_TYPE
      See Also:
    • SPV_OPERAND_TYPE_RAY_QUERY_CANDIDATE_INTERSECTION_TYPE

      public static final int SPV_OPERAND_TYPE_RAY_QUERY_CANDIDATE_INTERSECTION_TYPE
      See Also:
    • SPV_OPERAND_TYPE_PACKED_VECTOR_FORMAT

      public static final int SPV_OPERAND_TYPE_PACKED_VECTOR_FORMAT
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_PACKED_VECTOR_FORMAT

      public static final int SPV_OPERAND_TYPE_OPTIONAL_PACKED_VECTOR_FORMAT
      See Also:
    • SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_OPERANDS

      public static final int SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_COOPERATIVE_MATRIX_OPERANDS

      public static final int SPV_OPERAND_TYPE_OPTIONAL_COOPERATIVE_MATRIX_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_LAYOUT

      public static final int SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_LAYOUT
      See Also:
    • SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_USE

      public static final int SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_USE
      See Also:
    • SPV_OPERAND_TYPE_INITIALIZATION_MODE_QUALIFIER

      public static final int SPV_OPERAND_TYPE_INITIALIZATION_MODE_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_HOST_ACCESS_QUALIFIER

      public static final int SPV_OPERAND_TYPE_HOST_ACCESS_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_LOAD_CACHE_CONTROL

      public static final int SPV_OPERAND_TYPE_LOAD_CACHE_CONTROL
      See Also:
    • SPV_OPERAND_TYPE_STORE_CACHE_CONTROL

      public static final int SPV_OPERAND_TYPE_STORE_CACHE_CONTROL
      See Also:
    • SPV_OPERAND_TYPE_NAMED_MAXIMUM_NUMBER_OF_REGISTERS

      public static final int SPV_OPERAND_TYPE_NAMED_MAXIMUM_NUMBER_OF_REGISTERS
      See Also:
    • SPV_OPERAND_TYPE_RAW_ACCESS_CHAIN_OPERANDS

      public static final int SPV_OPERAND_TYPE_RAW_ACCESS_CHAIN_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_RAW_ACCESS_CHAIN_OPERANDS

      public static final int SPV_OPERAND_TYPE_OPTIONAL_RAW_ACCESS_CHAIN_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_TENSOR_CLAMP_MODE

      public static final int SPV_OPERAND_TYPE_TENSOR_CLAMP_MODE
      See Also:
    • SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_REDUCE

      public static final int SPV_OPERAND_TYPE_COOPERATIVE_MATRIX_REDUCE
      See Also:
    • SPV_OPERAND_TYPE_TENSOR_ADDRESSING_OPERANDS

      public static final int SPV_OPERAND_TYPE_TENSOR_ADDRESSING_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_MATRIX_MULTIPLY_ACCUMULATE_OPERANDS

      public static final int SPV_OPERAND_TYPE_MATRIX_MULTIPLY_ACCUMULATE_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_MATRIX_MULTIPLY_ACCUMULATE_OPERANDS

      public static final int SPV_OPERAND_TYPE_OPTIONAL_MATRIX_MULTIPLY_ACCUMULATE_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_COOPERATIVE_VECTOR_MATRIX_LAYOUT

      public static final int SPV_OPERAND_TYPE_COOPERATIVE_VECTOR_MATRIX_LAYOUT
      See Also:
    • SPV_OPERAND_TYPE_COMPONENT_TYPE

      public static final int SPV_OPERAND_TYPE_COMPONENT_TYPE
      See Also:
    • SPV_OPERAND_TYPE_KERNEL_PROPERTY_FLAGS

      public static final int SPV_OPERAND_TYPE_KERNEL_PROPERTY_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_BUILD_IDENTIFIER_FLAGS

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_BUILD_IDENTIFIER_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_BASE_TYPE_ATTRIBUTE_ENCODING

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_BASE_TYPE_ATTRIBUTE_ENCODING
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_COMPOSITE_TYPE

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_COMPOSITE_TYPE
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_IMPORTED_ENTITY

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_IMPORTED_ENTITY
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_INFO_FLAGS

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_INFO_FLAGS
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_OPERATION

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_OPERATION
      See Also:
    • SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_TYPE_QUALIFIER

      public static final int SPV_OPERAND_TYPE_SHDEBUG100_DEBUG_TYPE_QUALIFIER
      See Also:
    • SPV_OPERAND_TYPE_TENSOR_OPERANDS

      public static final int SPV_OPERAND_TYPE_TENSOR_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_TENSOR_OPERANDS

      public static final int SPV_OPERAND_TYPE_OPTIONAL_TENSOR_OPERANDS
      See Also:
    • SPV_OPERAND_TYPE_OPTIONAL_CAPABILITY

      public static final int SPV_OPERAND_TYPE_OPTIONAL_CAPABILITY
      See Also:
    • SPV_OPERAND_TYPE_VARIABLE_CAPABILITY

      public static final int SPV_OPERAND_TYPE_VARIABLE_CAPABILITY
      See Also:
    • SPV_OPERAND_TYPE_NUM_OPERAND_TYPES

      public static final int SPV_OPERAND_TYPE_NUM_OPERAND_TYPES
      See Also:
    • SPV_EXT_INST_TYPE_NONE

      public static final int SPV_EXT_INST_TYPE_NONE
      See Also:
    • SPV_EXT_INST_TYPE_GLSL_STD_450

      public static final int SPV_EXT_INST_TYPE_GLSL_STD_450
      See Also:
    • SPV_EXT_INST_TYPE_OPENCL_STD

      public static final int SPV_EXT_INST_TYPE_OPENCL_STD
      See Also:
    • SPV_EXT_INST_TYPE_SPV_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER

      public static final int SPV_EXT_INST_TYPE_SPV_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER
      See Also:
    • SPV_EXT_INST_TYPE_SPV_AMD_SHADER_TRINARY_MINMAX

      public static final int SPV_EXT_INST_TYPE_SPV_AMD_SHADER_TRINARY_MINMAX
      See Also:
    • SPV_EXT_INST_TYPE_SPV_AMD_GCN_SHADER

      public static final int SPV_EXT_INST_TYPE_SPV_AMD_GCN_SHADER
      See Also:
    • SPV_EXT_INST_TYPE_SPV_AMD_SHADER_BALLOT

      public static final int SPV_EXT_INST_TYPE_SPV_AMD_SHADER_BALLOT
      See Also:
    • SPV_EXT_INST_TYPE_DEBUGINFO

      public static final int SPV_EXT_INST_TYPE_DEBUGINFO
      See Also:
    • SPV_EXT_INST_TYPE_OPENCL_DEBUGINFO_100

      public static final int SPV_EXT_INST_TYPE_OPENCL_DEBUGINFO_100
      See Also:
    • SPV_EXT_INST_TYPE_NONSEMANTIC_CLSPVREFLECTION

      public static final int SPV_EXT_INST_TYPE_NONSEMANTIC_CLSPVREFLECTION
      See Also:
    • SPV_EXT_INST_TYPE_NONSEMANTIC_SHADER_DEBUGINFO_100

      public static final int SPV_EXT_INST_TYPE_NONSEMANTIC_SHADER_DEBUGINFO_100
      See Also:
    • SPV_EXT_INST_TYPE_NONSEMANTIC_VKSPREFLECTION

      public static final int SPV_EXT_INST_TYPE_NONSEMANTIC_VKSPREFLECTION
      See Also:
    • SPV_EXT_INST_TYPE_TOSA_001000_1

      public static final int SPV_EXT_INST_TYPE_TOSA_001000_1
      See Also:
    • SPV_EXT_INST_TYPE_ARM_MOTION_ENGINE_100

      public static final int SPV_EXT_INST_TYPE_ARM_MOTION_ENGINE_100
      See Also:
    • SPV_EXT_INST_TYPE_NONSEMANTIC_UNKNOWN

      public static final int SPV_EXT_INST_TYPE_NONSEMANTIC_UNKNOWN
      See Also:
    • SPV_NUMBER_NONE

      public static final int SPV_NUMBER_NONE
      See Also:
    • SPV_NUMBER_UNSIGNED_INT

      public static final int SPV_NUMBER_UNSIGNED_INT
      See Also:
    • SPV_NUMBER_SIGNED_INT

      public static final int SPV_NUMBER_SIGNED_INT
      See Also:
    • SPV_NUMBER_FLOATING

      public static final int SPV_NUMBER_FLOATING
      See Also:
    • SPV_FP_ENCODING_UNKNOWN

      public static final int SPV_FP_ENCODING_UNKNOWN
      See Also:
    • SPV_FP_ENCODING_IEEE754_BINARY16

      public static final int SPV_FP_ENCODING_IEEE754_BINARY16
      See Also:
    • SPV_FP_ENCODING_IEEE754_BINARY32

      public static final int SPV_FP_ENCODING_IEEE754_BINARY32
      See Also:
    • SPV_FP_ENCODING_IEEE754_BINARY64

      public static final int SPV_FP_ENCODING_IEEE754_BINARY64
      See Also:
    • SPV_FP_ENCODING_BFLOAT16

      public static final int SPV_FP_ENCODING_BFLOAT16
      See Also:
    • SPV_FP_ENCODING_FLOAT8_E4M3

      public static final int SPV_FP_ENCODING_FLOAT8_E4M3
      See Also:
    • SPV_FP_ENCODING_FLOAT8_E5M2

      public static final int SPV_FP_ENCODING_FLOAT8_E5M2
      See Also:
    • SPV_TEXT_TO_BINARY_OPTION_NONE

      public static final int SPV_TEXT_TO_BINARY_OPTION_NONE
      See Also:
    • SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS

      public static final int SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_NONE

      public static final int SPV_BINARY_TO_TEXT_OPTION_NONE
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_PRINT

      public static final int SPV_BINARY_TO_TEXT_OPTION_PRINT
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_COLOR

      public static final int SPV_BINARY_TO_TEXT_OPTION_COLOR
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_INDENT

      public static final int SPV_BINARY_TO_TEXT_OPTION_INDENT
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_SHOW_BYTE_OFFSET

      public static final int SPV_BINARY_TO_TEXT_OPTION_SHOW_BYTE_OFFSET
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_NO_HEADER

      public static final int SPV_BINARY_TO_TEXT_OPTION_NO_HEADER
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_FRIENDLY_NAMES

      public static final int SPV_BINARY_TO_TEXT_OPTION_FRIENDLY_NAMES
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_COMMENT

      public static final int SPV_BINARY_TO_TEXT_OPTION_COMMENT
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_NESTED_INDENT

      public static final int SPV_BINARY_TO_TEXT_OPTION_NESTED_INDENT
      See Also:
    • SPV_BINARY_TO_TEXT_OPTION_REORDER_BLOCKS

      public static final int SPV_BINARY_TO_TEXT_OPTION_REORDER_BLOCKS
      See Also:
    • kDefaultMaxIdBound

      public static final int kDefaultMaxIdBound
      See Also:
    • SPV_ENV_UNIVERSAL_1_0

      public static final int SPV_ENV_UNIVERSAL_1_0
      See Also:
    • SPV_ENV_VULKAN_1_0

      public static final int SPV_ENV_VULKAN_1_0
      See Also:
    • SPV_ENV_UNIVERSAL_1_1

      public static final int SPV_ENV_UNIVERSAL_1_1
      See Also:
    • SPV_ENV_OPENCL_2_1

      public static final int SPV_ENV_OPENCL_2_1
      See Also:
    • SPV_ENV_OPENCL_2_2

      public static final int SPV_ENV_OPENCL_2_2
      See Also:
    • SPV_ENV_OPENGL_4_0

      public static final int SPV_ENV_OPENGL_4_0
      See Also:
    • SPV_ENV_OPENGL_4_1

      public static final int SPV_ENV_OPENGL_4_1
      See Also:
    • SPV_ENV_OPENGL_4_2

      public static final int SPV_ENV_OPENGL_4_2
      See Also:
    • SPV_ENV_OPENGL_4_3

      public static final int SPV_ENV_OPENGL_4_3
      See Also:
    • SPV_ENV_OPENGL_4_5

      public static final int SPV_ENV_OPENGL_4_5
      See Also:
    • SPV_ENV_UNIVERSAL_1_2

      public static final int SPV_ENV_UNIVERSAL_1_2
      See Also:
    • SPV_ENV_OPENCL_1_2

      public static final int SPV_ENV_OPENCL_1_2
      See Also:
    • SPV_ENV_OPENCL_EMBEDDED_1_2

      public static final int SPV_ENV_OPENCL_EMBEDDED_1_2
      See Also:
    • SPV_ENV_OPENCL_2_0

      public static final int SPV_ENV_OPENCL_2_0
      See Also:
    • SPV_ENV_OPENCL_EMBEDDED_2_0

      public static final int SPV_ENV_OPENCL_EMBEDDED_2_0
      See Also:
    • SPV_ENV_OPENCL_EMBEDDED_2_1

      public static final int SPV_ENV_OPENCL_EMBEDDED_2_1
      See Also:
    • SPV_ENV_OPENCL_EMBEDDED_2_2

      public static final int SPV_ENV_OPENCL_EMBEDDED_2_2
      See Also:
    • SPV_ENV_UNIVERSAL_1_3

      public static final int SPV_ENV_UNIVERSAL_1_3
      See Also:
    • SPV_ENV_VULKAN_1_1

      public static final int SPV_ENV_VULKAN_1_1
      See Also:
    • SPV_ENV_WEBGPU_0

      public static final int SPV_ENV_WEBGPU_0
      See Also:
    • SPV_ENV_UNIVERSAL_1_4

      public static final int SPV_ENV_UNIVERSAL_1_4
      See Also:
    • SPV_ENV_VULKAN_1_1_SPIRV_1_4

      public static final int SPV_ENV_VULKAN_1_1_SPIRV_1_4
      See Also:
    • SPV_ENV_UNIVERSAL_1_5

      public static final int SPV_ENV_UNIVERSAL_1_5
      See Also:
    • SPV_ENV_VULKAN_1_2

      public static final int SPV_ENV_VULKAN_1_2
      See Also:
    • SPV_ENV_UNIVERSAL_1_6

      public static final int SPV_ENV_UNIVERSAL_1_6
      See Also:
    • SPV_ENV_VULKAN_1_3

      public static final int SPV_ENV_VULKAN_1_3
      See Also:
    • SPV_ENV_VULKAN_1_4

      public static final int SPV_ENV_VULKAN_1_4
      See Also:
    • spv_validator_limit_max_struct_members

      public static final int spv_validator_limit_max_struct_members
      See Also:
    • spv_validator_limit_max_struct_depth

      public static final int spv_validator_limit_max_struct_depth
      See Also:
    • spv_validator_limit_max_local_variables

      public static final int spv_validator_limit_max_local_variables
      See Also:
    • spv_validator_limit_max_global_variables

      public static final int spv_validator_limit_max_global_variables
      See Also:
    • spv_validator_limit_max_switch_branches

      public static final int spv_validator_limit_max_switch_branches
      See Also:
    • spv_validator_limit_max_function_args

      public static final int spv_validator_limit_max_function_args
      See Also:
    • spv_validator_limit_max_control_flow_nesting_depth

      public static final int spv_validator_limit_max_control_flow_nesting_depth
      See Also:
    • spv_validator_limit_max_access_chain_indexes

      public static final int spv_validator_limit_max_access_chain_indexes
      See Also:
    • spv_validator_limit_max_id_bound

      public static final int spv_validator_limit_max_id_bound
      See Also:
  • Method Details

    • getLibrary

      public static SharedLibrary getLibrary()
      Returns the shaderc SharedLibrary.
    • nspvSoftwareVersionString

      public static long nspvSoftwareVersionString()
      char const * spvSoftwareVersionString(void)
    • spvSoftwareVersionString

      public static @Nullable String spvSoftwareVersionString()
      char const * spvSoftwareVersionString(void)
    • nspvSoftwareVersionDetailsString

      public static long nspvSoftwareVersionDetailsString()
      char const * spvSoftwareVersionDetailsString(void)
    • spvSoftwareVersionDetailsString

      public static @Nullable String spvSoftwareVersionDetailsString()
      char const * spvSoftwareVersionDetailsString(void)
    • nspvTargetEnvDescription

      public static long nspvTargetEnvDescription(int env)
      char const * spvTargetEnvDescription(spv_target_env env)
    • spvTargetEnvDescription

      public static @Nullable String spvTargetEnvDescription(int env)
      char const * spvTargetEnvDescription(spv_target_env env)
    • nspvParseTargetEnv

      public static boolean nspvParseTargetEnv(long s, long env)
      bool spvParseTargetEnv(char const * s, spv_target_env * env)
    • spvParseTargetEnv

      public static boolean spvParseTargetEnv(ByteBuffer s, IntBuffer env)
      bool spvParseTargetEnv(char const * s, spv_target_env * env)
    • spvParseTargetEnv

      public static boolean spvParseTargetEnv(CharSequence s, IntBuffer env)
      bool spvParseTargetEnv(char const * s, spv_target_env * env)
    • nspvParseVulkanEnv

      public static boolean nspvParseVulkanEnv(int vulkan_ver, int spirv_ver, long env)
      bool spvParseVulkanEnv(uint32_t vulkan_ver, uint32_t spirv_ver, spv_target_env * env)
    • spvParseVulkanEnv

      public static boolean spvParseVulkanEnv(int vulkan_ver, int spirv_ver, IntBuffer env)
      bool spvParseVulkanEnv(uint32_t vulkan_ver, uint32_t spirv_ver, spv_target_env * env)
    • spvContextCreate

      public static long spvContextCreate(int env)
      spv_context spvContextCreate(spv_target_env env)
    • spvContextDestroy

      public static void spvContextDestroy(long context)
      void spvContextDestroy(spv_context context)
    • spvValidatorOptionsCreate

      public static long spvValidatorOptionsCreate()
      spv_validator_options spvValidatorOptionsCreate(void)
    • spvValidatorOptionsDestroy

      public static void spvValidatorOptionsDestroy(long options)
      void spvValidatorOptionsDestroy(spv_validator_options options)
    • spvValidatorOptionsSetUniversalLimit

      public static void spvValidatorOptionsSetUniversalLimit(long options, int limit_type, int limit)
      void spvValidatorOptionsSetUniversalLimit(spv_validator_options options, spv_validator_limit limit_type, uint32_t limit)
    • spvValidatorOptionsSetRelaxStoreStruct

      public static void spvValidatorOptionsSetRelaxStoreStruct(long options, boolean val)
      void spvValidatorOptionsSetRelaxStoreStruct(spv_validator_options options, bool val)
    • spvValidatorOptionsSetRelaxLogicalPointer

      public static void spvValidatorOptionsSetRelaxLogicalPointer(long options, boolean val)
      void spvValidatorOptionsSetRelaxLogicalPointer(spv_validator_options options, bool val)
    • spvValidatorOptionsSetBeforeHlslLegalization

      public static void spvValidatorOptionsSetBeforeHlslLegalization(long options, boolean val)
      void spvValidatorOptionsSetBeforeHlslLegalization(spv_validator_options options, bool val)
    • spvValidatorOptionsSetRelaxBlockLayout

      public static void spvValidatorOptionsSetRelaxBlockLayout(long options, boolean val)
      void spvValidatorOptionsSetRelaxBlockLayout(spv_validator_options options, bool val)
    • spvValidatorOptionsSetUniformBufferStandardLayout

      public static void spvValidatorOptionsSetUniformBufferStandardLayout(long options, boolean val)
      void spvValidatorOptionsSetUniformBufferStandardLayout(spv_validator_options options, bool val)
    • spvValidatorOptionsSetScalarBlockLayout

      public static void spvValidatorOptionsSetScalarBlockLayout(long options, boolean val)
      void spvValidatorOptionsSetScalarBlockLayout(spv_validator_options options, bool val)
    • spvValidatorOptionsSetWorkgroupScalarBlockLayout

      public static void spvValidatorOptionsSetWorkgroupScalarBlockLayout(long options, boolean val)
      void spvValidatorOptionsSetWorkgroupScalarBlockLayout(spv_validator_options options, bool val)
    • spvValidatorOptionsSetSkipBlockLayout

      public static void spvValidatorOptionsSetSkipBlockLayout(long options, boolean val)
      void spvValidatorOptionsSetSkipBlockLayout(spv_validator_options options, bool val)
    • spvValidatorOptionsSetAllowLocalSizeId

      public static void spvValidatorOptionsSetAllowLocalSizeId(long options, boolean val)
      void spvValidatorOptionsSetAllowLocalSizeId(spv_validator_options options, bool val)
    • spvValidatorOptionsSetAllowOffsetTextureOperand

      public static void spvValidatorOptionsSetAllowOffsetTextureOperand(long options, boolean val)
      void spvValidatorOptionsSetAllowOffsetTextureOperand(spv_validator_options options, bool val)
    • spvValidatorOptionsSetAllowVulkan32BitBitwise

      public static void spvValidatorOptionsSetAllowVulkan32BitBitwise(long options, boolean val)
      void spvValidatorOptionsSetAllowVulkan32BitBitwise(spv_validator_options options, bool val)
    • spvValidatorOptionsSetFriendlyNames

      public static void spvValidatorOptionsSetFriendlyNames(long options, boolean val)
      void spvValidatorOptionsSetFriendlyNames(spv_validator_options options, bool val)
    • spvOptimizerOptionsCreate

      public static long spvOptimizerOptionsCreate()
      spv_optimizer_options spvOptimizerOptionsCreate(void)
    • spvOptimizerOptionsDestroy

      public static void spvOptimizerOptionsDestroy(long options)
      void spvOptimizerOptionsDestroy(spv_optimizer_options options)
    • spvOptimizerOptionsSetRunValidator

      public static void spvOptimizerOptionsSetRunValidator(long options, boolean val)
      void spvOptimizerOptionsSetRunValidator(spv_optimizer_options options, bool val)
    • spvOptimizerOptionsSetValidatorOptions

      public static void spvOptimizerOptionsSetValidatorOptions(long options, long val)
      void spvOptimizerOptionsSetValidatorOptions(spv_optimizer_options options, spv_validator_options val)
    • spvOptimizerOptionsSetMaxIdBound

      public static void spvOptimizerOptionsSetMaxIdBound(long options, int val)
      void spvOptimizerOptionsSetMaxIdBound(spv_optimizer_options options, uint32_t val)
    • spvOptimizerOptionsSetPreserveBindings

      public static void spvOptimizerOptionsSetPreserveBindings(long options, boolean val)
      void spvOptimizerOptionsSetPreserveBindings(spv_optimizer_options options, bool val)
    • spvOptimizerOptionsSetPreserveSpecConstants

      public static void spvOptimizerOptionsSetPreserveSpecConstants(long options, boolean val)
      void spvOptimizerOptionsSetPreserveSpecConstants(spv_optimizer_options options, bool val)
    • spvReducerOptionsCreate

      public static long spvReducerOptionsCreate()
      spv_reducer_options spvReducerOptionsCreate(void)
    • spvReducerOptionsDestroy

      public static void spvReducerOptionsDestroy(long options)
      void spvReducerOptionsDestroy(spv_reducer_options options)
    • spvReducerOptionsSetStepLimit

      public static void spvReducerOptionsSetStepLimit(long options, int step_limit)
      void spvReducerOptionsSetStepLimit(spv_reducer_options options, uint32_t step_limit)
    • spvReducerOptionsSetFailOnValidationError

      public static void spvReducerOptionsSetFailOnValidationError(long options, boolean fail_on_validation_error)
      void spvReducerOptionsSetFailOnValidationError(spv_reducer_options options, bool fail_on_validation_error)
    • spvReducerOptionsSetTargetFunction

      public static void spvReducerOptionsSetTargetFunction(long options, int target_function)
      void spvReducerOptionsSetTargetFunction(spv_reducer_options options, uint32_t target_function)
    • spvFuzzerOptionsCreate

      public static long spvFuzzerOptionsCreate()
      spv_fuzzer_options spvFuzzerOptionsCreate(void)
    • spvFuzzerOptionsDestroy

      public static void spvFuzzerOptionsDestroy(long options)
      void spvFuzzerOptionsDestroy(spv_fuzzer_options options)
    • spvFuzzerOptionsEnableReplayValidation

      public static void spvFuzzerOptionsEnableReplayValidation(long options)
      void spvFuzzerOptionsEnableReplayValidation(spv_fuzzer_options options)
    • spvFuzzerOptionsSetRandomSeed

      public static void spvFuzzerOptionsSetRandomSeed(long options, int seed)
      void spvFuzzerOptionsSetRandomSeed(spv_fuzzer_options options, uint32_t seed)
    • spvFuzzerOptionsSetReplayRange

      public static void spvFuzzerOptionsSetReplayRange(long options, int replay_range)
      void spvFuzzerOptionsSetReplayRange(spv_fuzzer_options options, int32_t replay_range)
    • spvFuzzerOptionsSetShrinkerStepLimit

      public static void spvFuzzerOptionsSetShrinkerStepLimit(long options, int shrinker_step_limit)
      void spvFuzzerOptionsSetShrinkerStepLimit(spv_fuzzer_options options, uint32_t shrinker_step_limit)
    • spvFuzzerOptionsEnableFuzzerPassValidation

      public static void spvFuzzerOptionsEnableFuzzerPassValidation(long options)
      void spvFuzzerOptionsEnableFuzzerPassValidation(spv_fuzzer_options options)
    • spvFuzzerOptionsEnableAllPasses

      public static void spvFuzzerOptionsEnableAllPasses(long options)
      void spvFuzzerOptionsEnableAllPasses(spv_fuzzer_options options)
    • nspvTextToBinary

      public static int nspvTextToBinary(long context, long text, long length, long binary, long diagnostic)
      spv_result_t spvTextToBinary(spv_const_context const context, char const * text, size_t const length, spv_binary_t ** binary, spv_diagnostic_t ** diagnostic)
    • spvTextToBinary

      public static int spvTextToBinary(long context, ByteBuffer text, PointerBuffer binary, @Nullable PointerBuffer diagnostic)
      spv_result_t spvTextToBinary(spv_const_context const context, char const * text, size_t const length, spv_binary_t ** binary, spv_diagnostic_t ** diagnostic)
    • spvTextToBinary

      public static int spvTextToBinary(long context, CharSequence text, PointerBuffer binary, @Nullable PointerBuffer diagnostic)
      spv_result_t spvTextToBinary(spv_const_context const context, char const * text, size_t const length, spv_binary_t ** binary, spv_diagnostic_t ** diagnostic)
    • nspvTextToBinaryWithOptions

      public static int nspvTextToBinaryWithOptions(long context, long text, long length, int options, long binary, long diagnostic)
      spv_result_t spvTextToBinaryWithOptions(spv_const_context const context, char const * text, size_t const length, uint32_t options, spv_binary_t ** binary, spv_diagnostic_t ** diagnostic)
    • spvTextToBinaryWithOptions

      public static int spvTextToBinaryWithOptions(long context, ByteBuffer text, int options, PointerBuffer binary, @Nullable PointerBuffer diagnostic)
      spv_result_t spvTextToBinaryWithOptions(spv_const_context const context, char const * text, size_t const length, uint32_t options, spv_binary_t ** binary, spv_diagnostic_t ** diagnostic)
    • spvTextToBinaryWithOptions

      public static int spvTextToBinaryWithOptions(long context, CharSequence text, int options, PointerBuffer binary, @Nullable PointerBuffer diagnostic)
      spv_result_t spvTextToBinaryWithOptions(spv_const_context const context, char const * text, size_t const length, uint32_t options, spv_binary_t ** binary, spv_diagnostic_t ** diagnostic)
    • nspvTextDestroy

      public static void nspvTextDestroy(long text)
      void spvTextDestroy(spv_text_t * text)
    • spvTextDestroy

      public static void spvTextDestroy(@Nullable SPVText text)
      void spvTextDestroy(spv_text_t * text)
    • nspvBinaryToText

      public static int nspvBinaryToText(long context, long binary, long word_count, int options, long text, long diagnostic)
      spv_result_t spvBinaryToText(spv_const_context const context, uint32_t const * binary, size_t const word_count, uint32_t options, spv_text_t ** text, spv_diagnostic_t ** diagnostic)
    • spvBinaryToText

      public static int spvBinaryToText(long context, IntBuffer binary, int options, PointerBuffer text, @Nullable PointerBuffer diagnostic)
      spv_result_t spvBinaryToText(spv_const_context const context, uint32_t const * binary, size_t const word_count, uint32_t options, spv_text_t ** text, spv_diagnostic_t ** diagnostic)
    • nspvBinaryDestroy

      public static void nspvBinaryDestroy(long binary)
      void spvBinaryDestroy(spv_binary_t * binary)
    • spvBinaryDestroy

      public static void spvBinaryDestroy(SPVBinary binary)
      void spvBinaryDestroy(spv_binary_t * binary)
    • nspvValidate

      public static int nspvValidate(long context, long binary, long diagnostic)
      spv_result_t spvValidate(spv_const_context const context, spv_binary_t const * const binary, spv_diagnostic_t ** diagnostic)
    • spvValidate

      public static int spvValidate(long context, SPVBinary binary, @Nullable PointerBuffer diagnostic)
      spv_result_t spvValidate(spv_const_context const context, spv_binary_t const * const binary, spv_diagnostic_t ** diagnostic)
    • nspvValidateWithOptions

      public static int nspvValidateWithOptions(long context, long options, long binary, long diagnostic)
      spv_result_t spvValidateWithOptions(spv_const_context const context, spv_const_validator_options const options, spv_binary_t const * const binary, spv_diagnostic_t ** diagnostic)
    • spvValidateWithOptions

      public static int spvValidateWithOptions(long context, long options, SPVBinary binary, @Nullable PointerBuffer diagnostic)
      spv_result_t spvValidateWithOptions(spv_const_context const context, spv_const_validator_options const options, spv_binary_t const * const binary, spv_diagnostic_t ** diagnostic)
    • nspvValidateBinary

      public static int nspvValidateBinary(long context, long words, long num_words, long diagnostic)
      spv_result_t spvValidateBinary(spv_const_context const context, uint32_t const * words, size_t const num_words, spv_diagnostic_t ** diagnostic)
    • spvValidateBinary

      public static int spvValidateBinary(long context, IntBuffer words, @Nullable PointerBuffer diagnostic)
      spv_result_t spvValidateBinary(spv_const_context const context, uint32_t const * words, size_t const num_words, spv_diagnostic_t ** diagnostic)
    • nspvDiagnosticCreate

      public static long nspvDiagnosticCreate(long position, long message)
      spv_diagnostic_t * spvDiagnosticCreate(spv_position_t * const position, char const * message)
    • spvDiagnosticCreate

      public static @Nullable SPVDiagnostic spvDiagnosticCreate(SPVPosition position, ByteBuffer message)
      spv_diagnostic_t * spvDiagnosticCreate(spv_position_t * const position, char const * message)
    • spvDiagnosticCreate

      public static @Nullable SPVDiagnostic spvDiagnosticCreate(SPVPosition position, CharSequence message)
      spv_diagnostic_t * spvDiagnosticCreate(spv_position_t * const position, char const * message)
    • nspvDiagnosticDestroy

      public static void nspvDiagnosticDestroy(long diagnostic)
      void spvDiagnosticDestroy(spv_diagnostic_t * diagnostic)
    • spvDiagnosticDestroy

      public static void spvDiagnosticDestroy(SPVDiagnostic diagnostic)
      void spvDiagnosticDestroy(spv_diagnostic_t * diagnostic)
    • nspvDiagnosticPrint

      public static int nspvDiagnosticPrint(long diagnostic)
      spv_result_t spvDiagnosticPrint(spv_diagnostic_t * const diagnostic)
    • spvDiagnosticPrint

      public static int spvDiagnosticPrint(SPVDiagnostic diagnostic)
      spv_result_t spvDiagnosticPrint(spv_diagnostic_t * const diagnostic)
    • nspvOpcodeString

      public static long nspvOpcodeString(int opcode)
      char const * spvOpcodeString(uint32_t const opcode)
    • spvOpcodeString

      public static @Nullable String spvOpcodeString(int opcode)
      char const * spvOpcodeString(uint32_t const opcode)
    • nspvBinaryParse

      public static int nspvBinaryParse(long context, long user_data, long words, long num_words, long parse_header, long parse_instruction, long diagnostic)
      spv_result_t spvBinaryParse(spv_const_context const context, void * user_data, uint32_t const * words, size_t const num_words, spv_parsed_header_fn_t parse_header, spv_parsed_instruction_fn_t parse_instruction, spv_diagnostic_t ** diagnostic)
    • spvBinaryParse

      public static int spvBinaryParse(long context, long user_data, IntBuffer words, @Nullable SPVParsedHeaderFnI parse_header, @Nullable SPVParsedInstructionFnI parse_instruction, @Nullable PointerBuffer diagnostic)
      spv_result_t spvBinaryParse(spv_const_context const context, void * user_data, uint32_t const * words, size_t const num_words, spv_parsed_header_fn_t parse_header, spv_parsed_instruction_fn_t parse_instruction, spv_diagnostic_t ** diagnostic)
    • spvOptimizerCreate

      public static long spvOptimizerCreate(int env)
      spv_optimizer_t * spvOptimizerCreate(spv_target_env env)
    • spvOptimizerDestroy

      public static void spvOptimizerDestroy(long optimizer)
      void spvOptimizerDestroy(spv_optimizer_t * optimizer)
    • nspvOptimizerSetMessageConsumer

      public static void nspvOptimizerSetMessageConsumer(long optimizer, long consumer)
      void spvOptimizerSetMessageConsumer(spv_optimizer_t * optimizer, spv_message_consumer consumer)
    • spvOptimizerSetMessageConsumer

      public static void spvOptimizerSetMessageConsumer(long optimizer, @Nullable SPVMessageConsumerI consumer)
      void spvOptimizerSetMessageConsumer(spv_optimizer_t * optimizer, spv_message_consumer consumer)
    • spvOptimizerRegisterLegalizationPasses

      public static void spvOptimizerRegisterLegalizationPasses(long optimizer)
      void spvOptimizerRegisterLegalizationPasses(spv_optimizer_t * optimizer)
    • spvOptimizerRegisterPerformancePasses

      public static void spvOptimizerRegisterPerformancePasses(long optimizer)
      void spvOptimizerRegisterPerformancePasses(spv_optimizer_t * optimizer)
    • spvOptimizerRegisterSizePasses

      public static void spvOptimizerRegisterSizePasses(long optimizer)
      void spvOptimizerRegisterSizePasses(spv_optimizer_t * optimizer)
    • nspvOptimizerRegisterPassFromFlag

      public static boolean nspvOptimizerRegisterPassFromFlag(long optimizer, long flag)
      bool spvOptimizerRegisterPassFromFlag(spv_optimizer_t * optimizer, char const * flag)
    • spvOptimizerRegisterPassFromFlag

      public static boolean spvOptimizerRegisterPassFromFlag(long optimizer, ByteBuffer flag)
      bool spvOptimizerRegisterPassFromFlag(spv_optimizer_t * optimizer, char const * flag)
    • spvOptimizerRegisterPassFromFlag

      public static boolean spvOptimizerRegisterPassFromFlag(long optimizer, CharSequence flag)
      bool spvOptimizerRegisterPassFromFlag(spv_optimizer_t * optimizer, char const * flag)
    • nspvOptimizerRegisterPassesFromFlags

      public static boolean nspvOptimizerRegisterPassesFromFlags(long optimizer, long flags, long flag_count)
      bool spvOptimizerRegisterPassesFromFlags(spv_optimizer_t * optimizer, char const ** flags, size_t const flag_count)
    • spvOptimizerRegisterPassesFromFlags

      public static boolean spvOptimizerRegisterPassesFromFlags(long optimizer, PointerBuffer flags)
      bool spvOptimizerRegisterPassesFromFlags(spv_optimizer_t * optimizer, char const ** flags, size_t const flag_count)
    • nspvOptimizerRegisterPassesFromFlagsWhilePreservingTheInterface

      public static boolean nspvOptimizerRegisterPassesFromFlagsWhilePreservingTheInterface(long optimizer, long flags, long flag_count)
      bool spvOptimizerRegisterPassesFromFlagsWhilePreservingTheInterface(spv_optimizer_t * optimizer, char const ** flags, size_t const flag_count)
    • spvOptimizerRegisterPassesFromFlagsWhilePreservingTheInterface

      public static boolean spvOptimizerRegisterPassesFromFlagsWhilePreservingTheInterface(long optimizer, PointerBuffer flags)
      bool spvOptimizerRegisterPassesFromFlagsWhilePreservingTheInterface(spv_optimizer_t * optimizer, char const ** flags, size_t const flag_count)
    • nspvOptimizerRun

      public static int nspvOptimizerRun(long optimizer, long binary, long word_count, long optimized_binary, long options)
      spv_result_t spvOptimizerRun(spv_optimizer_t * optimizer, uint32_t const * binary, size_t const word_count, spv_binary_t ** optimized_binary, spv_optimizer_options const options)
    • spvOptimizerRun

      public static int spvOptimizerRun(long optimizer, IntBuffer binary, PointerBuffer optimized_binary, long options)
      spv_result_t spvOptimizerRun(spv_optimizer_t * optimizer, uint32_t const * binary, size_t const word_count, spv_binary_t ** optimized_binary, spv_optimizer_options const options)