|
| | GPUCodegenCreateInfo (const char *name) |
| | ~GPUCodegenCreateInfo () |
| BuiltinBits | builtins_combined () const |
| Vector< Resource, 0 > & | resources_get_ (Frequency freq) |
| Vector< Resource > | resources_get_all_ () const |
| | ShaderCreateInfo (const char *name) |
| | ~ShaderCreateInfo ()=default |
| Self & | noop () |
| Self & | vertex_in (int slot, Type type, StringRefNull name, ConditionFn cond=nullptr) |
| Self & | vertex_out (StageInterfaceInfo &interface, ConditionFn cond=nullptr) |
| Self & | geometry_layout (PrimitiveIn prim_in, PrimitiveOut prim_out, int max_vertices, int invocations=-1) |
| Self & | local_group_size (int local_size_x, int local_size_y=1, int local_size_z=1) |
| Self & | early_fragment_test (bool enable) |
| Self & | geometry_out (StageInterfaceInfo &interface, ConditionFn cond=nullptr) |
| Self & | fragment_out (int slot, Type type, StringRefNull name, DualBlend blend=DualBlend::NONE, int raster_order_group=-1, ConditionFn cond=nullptr) |
| Self & | subpass_in (int slot, Type type, ImageType img_type, StringRefNull name, int raster_order_group=-1) |
| Self & | shared_resource_descriptor (void(*fn)(ShaderCreateInfo &)) |
| Self & | compilation_constant (Type type, StringRefNull name, double default_value) |
| Self & | specialization_constant (Type type, StringRefNull name, double default_value) |
| Self & | shared_variable (Type type, StringRefNull name) |
| Self & | uniform_buf (int slot, StringRefNull type_name, StringRefNull name, Frequency freq=Frequency::PASS, ConditionFn cond=nullptr) |
| Self & | storage_buf (int slot, Qualifier qualifiers, StringRefNull type_name, StringRefNull name, Frequency freq=Frequency::PASS, ConditionFn cond=nullptr) |
| Self & | acceleration_structure (int slot, StringRefNull name, Frequency freq=Frequency::PASS, ConditionFn cond=nullptr) |
| Self & | image (int slot, TextureFormat format, Qualifier qualifiers, ImageReadWriteType type, StringRefNull name, Frequency freq=Frequency::PASS, ConditionFn cond=nullptr) |
| Self & | sampler (int slot, ImageType type, StringRefNull name, Frequency freq=Frequency::PASS, ConditionFn cond=nullptr) |
| Self & | vertex_source (StringRefNull filename) |
| Self & | fragment_source (StringRefNull filename) |
| Self & | compute_source (StringRefNull filename) |
| Self & | vertex_function (StringRefNull function_name) |
| Self & | fragment_function (StringRefNull function_name) |
| Self & | compute_function (StringRefNull function_name) |
| Self & | push_constant (Type type, StringRefNull name, int array_size=0, ConditionFn cond=nullptr) |
| Self & | define (StringRefNull name, StringRefNull value="") |
| Self & | do_static_compilation (bool value) |
| Self & | builtins (BuiltinBits builtin, ConditionFn cond=nullptr) |
| Self & | depth_write (DepthWrite value) |
| Self & | metal_backend_only (bool flag) |
| Self & | additional_info (StringRefNull info_name) |
| template<typename... Args> |
| Self & | additional_info (StringRefNull info_name, Args... args) |
| Self & | additional_info_with_condition (StringRefNull info_name, ConditionFn cond=nullptr) |
| Self & | typedef_source (StringRefNull filename) |
| Self & | mtl_max_total_threads_per_threadgroup (ushort max_total_threads_per_threadgroup) |
| void | finalize (const bool recursive=false) |
| std::string | resource_guard_defines (Span< CompilationConstant > constants) const |
| std::string | iface_guard_defines () const |
| void | extend_predicate (Vector< Resource, 0 > &resource_vector, ShaderCreateInfo::Resource res_copy, Span< ConditionFn > additional_conditions) const |
| void | extend_predicate (Vector< PushConst, 0 > &resource_vector, ShaderCreateInfo::PushConst res_copy, Span< ConditionFn > additional_conditions) const |
| void | assert_no_overlap (const ShaderCreateInfo &info, const bool test, const StringRefNull error) const |
| void | set_resource_slot (Resource &res, int &images, int &samplers, int &ubos, int &ssbos, int &acceleration_structures) const |
| std::string | check_error () const |
| bool | is_vulkan_compatible () const |
| void | validate_merge (const ShaderCreateInfo &other_info) |
| void | validate_vertex_attributes (const ShaderCreateInfo *other_info=nullptr) |
| PipelineState & | pipeline_state () |
| | Create a new pipeline state.
|
| bool | operator== (const ShaderCreateInfo &b) const |
| bool | has_resource_type (Resource::BindType bind_type) const |
| bool | has_resource_image () const |
| int | sampler_count () const |
| int | max_sampler_slot () const |
Definition at line 28 of file gpu_codegen.hh.