Struct CompilerGLSL::Options

Nested Relationships

This struct is a nested type of Class CompilerGLSL.

Nested Types

Struct Documentation

struct Options

Public Types

enum Precision

Values:

enumerator DontCare
enumerator Lowp
enumerator Mediump
enumerator Highp

Public Members

uint32_t version = 450
bool es = false
bool force_temporary = false
uint32_t force_recompile_max_debug_iterations = 3
bool vulkan_semantics = false
bool separate_shader_objects = false
bool flatten_multidimensional_arrays = false
bool enable_420pack_extension = true
bool emit_push_constant_as_uniform_buffer = false
bool emit_uniform_buffer_as_plain_uniforms = false
bool emit_line_directives = false
bool enable_storage_image_qualifier_deduction = true
bool force_zero_initialized_variables = false
bool force_flattened_io_blocks = false
bool relax_nan_checks = false
bool enable_row_major_load_workaround = true
uint32_t ovr_multiview_view_count = 0
struct SPIRV_CROSS_NAMESPACE::CompilerGLSL::Options::VertexOptions vertex
struct SPIRV_CROSS_NAMESPACE::CompilerGLSL::Options::FragmentOptions fragment
struct FragmentOptions

Public Members

Precision default_float_precision = Mediump
Precision default_int_precision = Highp
struct VertexOptions

Public Members

bool fixup_clipspace = false
bool flip_vert_y = false
bool support_nonzero_base_instance = true