|
Blender V5.0
|
#include <mtl_shader_generator.hh>
Definition at line 334 of file mtl_shader_generator.hh.
|
inline |
Definition at line 409 of file mtl_shader_generator.hh.
| MTLShaderInterface * blender::gpu::MSLGeneratorInterface::bake_shader_interface | ( | const char * | name, |
| const shader::ShaderCreateInfo * | info = nullptr ) |
Definition at line 2799 of file mtl_shader_generator.mm.
References blender::gpu::COMPUTE, constants, blender::gpu::FRAGMENT, blender::gpu::get_matrix_location_count(), blender::gpu::get_matrix_subtype(), get_sampler_argument_buffer_bind_index(), blender::gpu::is_matrix_type(), MEM_mallocN(), MEM_reallocN, blender::gpu::mtl_datatype_to_vertex_type(), mtl_get_data_type_size(), name, blender::gpu::name_buffer_copystr(), new(), shader_debug_printf, size(), storage_blocks, texture_samplers, blender::gpu::to_mtl_type(), uniform_blocks, uniforms, use_argument_buffer_for_samplers(), blender::gpu::VERTEX, and vertex_input_attributes.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_compute_entry_stub | ( | const shader::ShaderCreateInfo & | info | ) |
Definition at line 1605 of file mtl_shader_generator.mm.
References blender::gpu::COMPUTE, generate_msl_compute_inputs_string(), generate_msl_global_uniform_population(), generate_msl_texture_vars(), generate_msl_uniform_block_population(), generate_msl_uniform_undefs(), blender::gpu::get_shader_stage_instance_name(), blender::gpu::get_stage_class_name(), out, blender::gpu::shared_variable_declare(), blender::gpu::shared_variable_pass(), blender::gpu::shader::ShaderCreateInfo::shared_variables_, uses_gl_GlobalInvocationID, uses_gl_LocalInvocationID, uses_gl_LocalInvocationIndex, uses_gl_NumWorkGroups, and uses_gl_WorkGroupID.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_compute_inputs_string | ( | ) |
Definition at line 1872 of file mtl_shader_generator.mm.
References blender::gpu::COMPUTE, generate_msl_textures_input_string(), generate_msl_uniforms_input_string(), blender::gpu::get_stage_class_name(), out, blender::gpu::parameter_delimiter(), uniforms, uses_gl_GlobalInvocationID, uses_gl_LocalInvocationID, uses_gl_LocalInvocationIndex, uses_gl_NumWorkGroups, and uses_gl_WorkGroupID.
Referenced by generate_msl_compute_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_fragment_entry_stub | ( | ) |
Definition at line 1526 of file mtl_shader_generator.mm.
References blender::gpu::FRAGMENT, FRAGMENT_OUT_STRUCT_NAME, fragment_tile_inputs, generate_msl_fragment_input_population(), generate_msl_fragment_inputs_string(), generate_msl_fragment_output_population(), generate_msl_fragment_tile_input_population(), generate_msl_global_uniform_population(), generate_msl_texture_vars(), generate_msl_uniform_block_population(), generate_msl_uniform_undefs(), blender::gpu::get_shader_stage_instance_name(), blender::gpu::get_stage_class_name(), out, uses_barycentrics, uses_early_fragment_test, uses_gl_FrontFacing, uses_gl_PointCoord, and uses_gl_PrimitiveID.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_fragment_input_population | ( | ) |
Definition at line 2474 of file mtl_shader_generator.mm.
References count, blender::gpu::FRAGMENT, fragment_input_varyings, blender::gpu::get_matrix_location_count(), blender::gpu::get_shader_stage_instance_name(), i, blender::gpu::is_matrix_type(), name, out, shader_debug_printf, uses_gl_FragDepth, uses_gl_Position, uses_gpu_layer, uses_gpu_viewport_index, and vertex_output_varyings.
Referenced by generate_msl_fragment_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_fragment_inputs_string | ( | ) |
Definition at line 1826 of file mtl_shader_generator.mm.
References blender::gpu::FRAGMENT, FRAGMENT_TILE_IN_STRUCT_NAME, fragment_tile_inputs, generate_msl_textures_input_string(), generate_msl_uniforms_input_string(), blender::gpu::get_stage_class_name(), out, blender::gpu::parameter_delimiter(), uniforms, uses_barycentrics, uses_gl_FrontFacing, uses_gl_PointCoord, and uses_gl_PrimitiveID.
Referenced by generate_msl_fragment_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_fragment_output_population | ( | ) |
Definition at line 2590 of file mtl_shader_generator.mm.
References blender::gpu::FRAGMENT, fragment_outputs, blender::gpu::get_shader_stage_instance_name(), out, uses_gl_FragDepth, and uses_gl_FragStencilRefARB.
Referenced by generate_msl_fragment_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_fragment_struct | ( | bool | is_input | ) |
Definition at line 2132 of file mtl_shader_generator.mm.
References depth_write, FRAGMENT_OUT_STRUCT_NAME, fragment_outputs, FRAGMENT_TILE_IN_STRUCT_NAME, fragment_tile_inputs, blender::gpu::shader::GREATER, blender::gpu::shader::LESS, out, blender::gpu::to_string(), uses_gl_FragDepth, and uses_gl_FragStencilRefARB.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_fragment_tile_input_population | ( | ) |
Definition at line 2191 of file mtl_shader_generator.mm.
References blender::gpu::MTLBackend::capabilities, blender::gpu::FRAGMENT, fragment_tile_inputs, blender::gpu::get_shader_stage_instance_name(), blender::gpu::shader::LAYER, out, and blender::gpu::shader::to_component_count().
Referenced by generate_msl_fragment_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_global_uniform_population | ( | ShaderStage | stage | ) |
Definition at line 2175 of file mtl_shader_generator.mm.
References blender::gpu::get_shader_stage_instance_name(), out, and uniforms.
Referenced by generate_msl_compute_entry_stub(), generate_msl_fragment_entry_stub(), and generate_msl_vertex_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_texture_vars | ( | ShaderStage | shader_stage | ) |
Definition at line 2619 of file mtl_shader_generator.mm.
References BLI_assert, blender::gpu::COMPUTE, ELEM, blender::gpu::FRAGMENT, blender::gpu::get_shader_stage_instance_name(), blender::gpu::get_stage_class_name(), i, blender::gpu::is_builtin_type(), blender::gpu::MSLBufferBlock::name, out, blender::gpu::MSLBufferBlock::qualifiers, storage_blocks, texture_samplers, blender::gpu::MSLBufferBlock::type_name, use_argument_buffer_for_samplers(), blender::gpu::VERTEX, and blender::gpu::shader::write.
Referenced by generate_msl_compute_entry_stub(), generate_msl_fragment_entry_stub(), and generate_msl_vertex_entry_stub().
| void blender::gpu::MSLGeneratorInterface::generate_msl_textures_input_string | ( | std::stringstream & | out, |
| ShaderStage | stage, | ||
| bool & | is_first_parameter ) |
Definition at line 1695 of file mtl_shader_generator.mm.
References BLI_assert, blender::gpu::COMPUTE, blender::gpu::FRAGMENT, blender::gpu::MSLTextureResource::get_msl_typestring(), get_sampler_argument_buffer_bind_index(), GPU_max_textures_vert(), MTL_MAX_DEFAULT_SAMPLERS, blender::gpu::MSLTextureResource::name, out, blender::gpu::parameter_delimiter(), shader_debug_printf, blender::gpu::MSLTextureResource::slot, blender::gpu::MSLTextureResource::stage, texture_samplers, use_argument_buffer_for_samplers(), and blender::gpu::VERTEX.
Referenced by generate_msl_compute_inputs_string(), generate_msl_fragment_inputs_string(), and generate_msl_vertex_inputs_string().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_uniform_block_population | ( | ShaderStage | stage | ) |
Definition at line 2228 of file mtl_shader_generator.mm.
References blender::gpu::get_shader_stage_instance_name(), blender::gpu::get_stage_class_name(), blender::gpu::is_builtin_type(), out, storage_blocks, uniform_blocks, blender::gpu::VERTEX, and blender::gpu::shader::write.
Referenced by generate_msl_compute_entry_stub(), generate_msl_fragment_entry_stub(), and generate_msl_vertex_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_uniform_structs | ( | ShaderStage | shader_stage | ) |
Definition at line 1912 of file mtl_shader_generator.mm.
References BLI_assert, blender::gpu::FRAGMENT, out, blender::gpu::to_string(), uniforms, UNUSED_VARS_NDEBUG, and blender::gpu::VERTEX.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_uniform_undefs | ( | ShaderStage | stage | ) |
Definition at line 1950 of file mtl_shader_generator.mm.
References out, storage_blocks, uniform_blocks, and uniforms.
Referenced by generate_msl_compute_entry_stub(), generate_msl_fragment_entry_stub(), and generate_msl_vertex_entry_stub().
| void blender::gpu::MSLGeneratorInterface::generate_msl_uniforms_input_string | ( | std::stringstream & | out, |
| ShaderStage | stage, | ||
| bool & | is_first_parameter ) |
Definition at line 1742 of file mtl_shader_generator.mm.
References blender::gpu::get_stage_class_name(), blender::gpu::is_builtin_type(), out, blender::gpu::parameter_delimiter(), storage_blocks, uniform_blocks, blender::gpu::VERTEX, and blender::gpu::shader::write.
Referenced by generate_msl_compute_inputs_string(), generate_msl_fragment_inputs_string(), and generate_msl_vertex_inputs_string().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_vertex_attribute_input_population | ( | ) |
Definition at line 2291 of file mtl_shader_generator.mm.
References BLI_assert, blender::gpu::get_attribute_conversion_function(), blender::gpu::get_matrix_location_count(), blender::gpu::get_shader_stage_instance_name(), blender::gpu::is_matrix_type(), out, blender::gpu::VERTEX, and vertex_input_attributes.
Referenced by generate_msl_vertex_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_vertex_entry_stub | ( | ) |
Definition at line 1454 of file mtl_shader_generator.mm.
References generate_msl_global_uniform_population(), generate_msl_texture_vars(), generate_msl_uniform_block_population(), generate_msl_uniform_undefs(), generate_msl_vertex_attribute_input_population(), generate_msl_vertex_inputs_string(), generate_msl_vertex_output_population(), blender::gpu::get_shader_stage_instance_name(), blender::gpu::get_stage_class_name(), out, uses_gl_BaseInstanceARB, uses_gl_InstanceID, uses_gl_VertexID, and blender::gpu::VERTEX.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_vertex_in_struct | ( | ) |
Definition at line 1969 of file mtl_shader_generator.mm.
References blender::gpu::get_matrix_location_count(), blender::gpu::get_matrix_subtype(), blender::gpu::is_matrix_type(), out, and vertex_input_attributes.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_vertex_inputs_string | ( | ) |
Definition at line 1787 of file mtl_shader_generator.mm.
References generate_msl_textures_input_string(), generate_msl_uniforms_input_string(), blender::gpu::get_stage_class_name(), out, blender::gpu::parameter_delimiter(), uniforms, uses_gl_BaseInstanceARB, uses_gl_InstanceID, uses_gl_VertexID, blender::gpu::VERTEX, and vertex_input_attributes.
Referenced by generate_msl_vertex_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_vertex_out_struct | ( | ShaderStage | shader_stage | ) |
Definition at line 2009 of file mtl_shader_generator.mm.
References BLI_assert, clip_distances, blender::gpu::FRAGMENT, blender::gpu::get_matrix_location_count(), blender::gpu::get_matrix_subtype(), i, blender::gpu::is_matrix_type(), out, uses_gl_PointSize, uses_gl_Position, uses_gpu_layer, uses_gpu_viewport_index, blender::gpu::VERTEX, and vertex_output_varyings.
| std::string blender::gpu::MSLGeneratorInterface::generate_msl_vertex_output_population | ( | ) |
Definition at line 2357 of file mtl_shader_generator.mm.
References clip_distances, blender::gpu::get_matrix_location_count(), blender::gpu::get_shader_stage_instance_name(), i, blender::gpu::is_matrix_type(), out, uses_gl_PointSize, uses_gl_Position, uses_gpu_layer, uses_gpu_viewport_index, blender::gpu::VERTEX, and vertex_output_varyings.
Referenced by generate_msl_vertex_entry_stub().
| std::string blender::gpu::MSLGeneratorInterface::generate_ubo_block_macro_chain | ( | MSLBufferBlock | block | ) |
| std::string blender::gpu::MSLGeneratorInterface::generate_ubo_block_undef_chain | ( | ShaderStage | stage | ) |
| uint32_t blender::gpu::MSLGeneratorInterface::get_sampler_argument_buffer_bind_index | ( | ShaderStage | stage | ) |
Definition at line 1439 of file mtl_shader_generator.mm.
References BLI_assert, blender::gpu::COMPUTE, blender::gpu::FRAGMENT, blender::gpu::get_shader_stage_index(), max_buffer_slot, sampler_argument_buffer_bind_index, and blender::gpu::VERTEX.
Referenced by bake_shader_interface(), and generate_msl_textures_input_string().
| uint32_t blender::gpu::MSLGeneratorInterface::max_sampler_index_for_stage | ( | ShaderStage | stage | ) | const |
Definition at line 1432 of file mtl_shader_generator.mm.
References max_tex_bind_index.
| blender::gpu::MSLGeneratorInterface::MEM_CXX_CLASS_ALLOC_FUNCS | ( | "MSLGeneratorInterface" | ) |
| char * blender::gpu::MSLGeneratorInterface::msl_patch_default_get | ( | ) |
Definition at line 348 of file mtl_shader_generator.mm.
References datatoc_mtl_shader_shared_hh, len, and blender::gpu::msl_patch_default_lock.
| uint32_t blender::gpu::MSLGeneratorInterface::num_samplers_for_stage | ( | ShaderStage | stage | ) | const |
Definition at line 1425 of file mtl_shader_generator.mm.
References texture_samplers.
| void blender::gpu::MSLGeneratorInterface::prepare_from_createinfo | ( | const shader::ShaderCreateInfo * | info | ) |
Prepare MSLGeneratorInterface from create-info.
Assign info.
Prepare Uniforms.
Prepare Constants.
Vertex Inputs.
Fragment outputs.
Definition at line 1086 of file mtl_shader_generator.mm.
References blender::gpu::MSLTextureResource::access, blender::gpu::ANY, blender::gpu::shader::ShaderCreateInfo::PushConst::array_size, blender::gpu::MSLTextureResource::atomic_fallback_buffer_ssbo_id, blender::gpu::shader::ShaderCreateInfo::FragOut::blend, BLI_assert, blender::gpu::MTLBackend::capabilities, blender::gpu::COMPUTE, constants, ELEM, blender::gpu::FRAGMENT, fragment_outputs, fragment_tile_inputs, blender::gpu::MTLBackend::get_capabilities(), blender::gpu::MSLTextureResource::get_msl_return_type_str(), blender::gpu::shader::ShaderCreateInfo::Resource::IMAGE, blender::gpu::shader::ShaderCreateInfo::SubpassIn::img_type, blender::gpu::shader::ShaderCreateInfo::FragOut::index, blender::gpu::shader::ShaderCreateInfo::SubpassIn::index, ShaderCreateInfo::VertIn::index, blender::gpu::shader::int4_t, blender::gpu::MSLBufferBlock::is_array, blender::StringRefBase::is_empty(), blender::gpu::MSLFragmentOutputAttribute::is_layered_input, blender::gpu::MSLBufferBlock::is_texture_buffer, blender::gpu::MSLTextureResource::is_texture_sampler, blender::gpu::MSLFragmentOutputAttribute::layout_index, blender::gpu::MSLFragmentOutputAttribute::layout_location, blender::gpu::MSLVertexInputAttribute::layout_location, blender::gpu::MSLBufferBlock::location, blender::gpu::MSLTextureResource::location, max_buffer_slot, max_ii(), max_tex_bind_index, max_uu(), MTL_MAX_BUFFER_BINDINGS, MTL_MAX_TEXTURE_SLOTS, blender::gpu::MSLBufferBlock::name, blender::gpu::MSLFragmentOutputAttribute::name, blender::gpu::MSLTextureResource::name, blender::gpu::MSLVertexInputAttribute::name, blender::gpu::shader::ShaderCreateInfo::FragOut::name, blender::gpu::shader::ShaderCreateInfo::PushConst::name, blender::gpu::shader::ShaderCreateInfo::SubpassIn::name, ShaderCreateInfo::VertIn::name, blender::gpu::shader::NONE, blender::gpu::MSLBufferBlock::qualifiers, blender::gpu::MSLFragmentOutputAttribute::raster_order_group, blender::gpu::shader::ShaderCreateInfo::FragOut::raster_order_group, blender::gpu::shader::ShaderCreateInfo::SubpassIn::raster_order_group, blender::gpu::shader::read, blender::gpu::shader::read_write, resolve_input_attribute_locations(), blender::gpu::shader::ShaderCreateInfo::resources_get_all_(), blender::gpu::shader::ShaderCreateInfo::Resource::SAMPLER, blender::gpu::MSLBufferBlock::slot, blender::gpu::MSLTextureResource::slot, blender::gpu::shader::SRC_0, blender::gpu::MSLBufferBlock::stage, blender::gpu::MSLTextureResource::stage, storage_blocks, blender::gpu::shader::ShaderCreateInfo::Resource::STORAGE_BUFFER, blender::gpu::TEXTURE_ACCESS_READ, blender::gpu::TEXTURE_ACCESS_READWRITE, blender::gpu::TEXTURE_ACCESS_SAMPLE, blender::gpu::TEXTURE_ACCESS_WRITE, texture_samplers, blender::gpu::MSLFragmentOutputAttribute::type, blender::gpu::MSLTextureResource::type, blender::gpu::MSLVertexInputAttribute::type, blender::gpu::shader::ShaderCreateInfo::FragOut::type, blender::gpu::shader::ShaderCreateInfo::PushConst::type, blender::gpu::shader::ShaderCreateInfo::SubpassIn::type, ShaderCreateInfo::VertIn::type, blender::gpu::MSLBufferBlock::type_name, uniform_blocks, blender::gpu::shader::ShaderCreateInfo::Resource::UNIFORM_BUFFER, uniforms, UNUSED_VARS_NDEBUG, vertex_input_attributes, blender::gpu::shader::ShaderCreateInfo::vertex_inputs_, and blender::gpu::shader::write.
| void blender::gpu::MSLGeneratorInterface::resolve_fragment_output_locations | ( | ) |
Definition at line 2748 of file mtl_shader_generator.mm.
References BLI_assert_msg, fragment_outputs, and i.
| void blender::gpu::MSLGeneratorInterface::resolve_input_attribute_locations | ( | ) |
Definition at line 2695 of file mtl_shader_generator.mm.
References BLI_assert, blender::gpu::get_matrix_location_count(), GPU_VERT_ATTR_MAX_LEN, i, MTL_LOG_ERROR, and vertex_input_attributes.
Referenced by prepare_from_createinfo().
| bool blender::gpu::MSLGeneratorInterface::use_argument_buffer_for_samplers | ( | ) | const |
Definition at line 1399 of file mtl_shader_generator.mm.
References GPU_max_samplers(), max_tex_bind_index, MTL_LOG_WARNING, and texture_samplers.
Referenced by bake_shader_interface(), generate_msl_texture_vars(), and generate_msl_textures_input_string().
| blender::Vector<char> blender::gpu::MSLGeneratorInterface::clip_distances |
Definition at line 356 of file mtl_shader_generator.hh.
Referenced by blender::gpu::extract_and_replace_clipping_distances(), generate_msl_vertex_out_struct(), and generate_msl_vertex_output_population().
| blender::Vector<MSLConstant> blender::gpu::MSLGeneratorInterface::constants |
Definition at line 347 of file mtl_shader_generator.hh.
Referenced by bake_shader_interface(), and prepare_from_createinfo().
| shader::DepthWrite blender::gpu::MSLGeneratorInterface::depth_write |
Definition at line 392 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_struct().
| blender::Vector<MSLVertexOutputAttribute> blender::gpu::MSLGeneratorInterface::fragment_input_varyings |
Definition at line 353 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_input_population().
| blender::Vector<MSLFragmentOutputAttribute> blender::gpu::MSLGeneratorInterface::fragment_outputs |
Definition at line 354 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_output_population(), generate_msl_fragment_struct(), prepare_from_createinfo(), and resolve_fragment_output_locations().
| blender::Vector<MSLFragmentTileInputAttribute> blender::gpu::MSLGeneratorInterface::fragment_tile_inputs |
Definition at line 349 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_entry_stub(), generate_msl_fragment_inputs_string(), generate_msl_fragment_struct(), generate_msl_fragment_tile_input_population(), and prepare_from_createinfo().
| int blender::gpu::MSLGeneratorInterface::max_buffer_slot = 0 |
Definition at line 395 of file mtl_shader_generator.hh.
Referenced by get_sampler_argument_buffer_bind_index(), and prepare_from_createinfo().
| int blender::gpu::MSLGeneratorInterface::max_tex_bind_index = 0 |
Definition at line 358 of file mtl_shader_generator.hh.
Referenced by max_sampler_index_for_stage(), prepare_from_createinfo(), and use_argument_buffer_for_samplers().
| int blender::gpu::MSLGeneratorInterface::sampler_argument_buffer_bind_index[3] = {-1, -1, -1} |
Definition at line 399 of file mtl_shader_generator.hh.
Referenced by get_sampler_argument_buffer_bind_index().
| blender::Vector<MSLBufferBlock> blender::gpu::MSLGeneratorInterface::storage_blocks |
Definition at line 341 of file mtl_shader_generator.hh.
Referenced by bake_shader_interface(), generate_msl_texture_vars(), generate_msl_uniform_block_population(), generate_msl_uniform_undefs(), generate_msl_uniforms_input_string(), and prepare_from_createinfo().
| blender::Vector<MSLTextureResource> blender::gpu::MSLGeneratorInterface::texture_samplers |
Definition at line 343 of file mtl_shader_generator.hh.
Referenced by bake_shader_interface(), generate_msl_texture_vars(), generate_msl_textures_input_string(), num_samplers_for_stage(), prepare_from_createinfo(), and use_argument_buffer_for_samplers().
| blender::Vector<MSLBufferBlock> blender::gpu::MSLGeneratorInterface::uniform_blocks |
Shader stage input/output binding information. Derived from shader source reflection or GPUShaderCreateInfo.
Definition at line 340 of file mtl_shader_generator.hh.
Referenced by bake_shader_interface(), generate_msl_uniform_block_population(), generate_msl_uniform_undefs(), generate_msl_uniforms_input_string(), and prepare_from_createinfo().
| blender::Vector<MSLUniform> blender::gpu::MSLGeneratorInterface::uniforms |
Definition at line 342 of file mtl_shader_generator.hh.
Referenced by bake_shader_interface(), generate_msl_compute_inputs_string(), generate_msl_fragment_inputs_string(), generate_msl_global_uniform_population(), generate_msl_uniform_structs(), generate_msl_uniform_undefs(), generate_msl_vertex_inputs_string(), and prepare_from_createinfo().
| bool blender::gpu::MSLGeneratorInterface::uses_barycentrics |
Definition at line 380 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_entry_stub(), and generate_msl_fragment_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_early_fragment_test |
Definition at line 389 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_entry_stub().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_BaseInstanceARB |
Definition at line 372 of file mtl_shader_generator.hh.
Referenced by generate_msl_vertex_entry_stub(), and generate_msl_vertex_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_FragColor |
Definition at line 364 of file mtl_shader_generator.hh.
| bool blender::gpu::MSLGeneratorInterface::uses_gl_FragDepth |
Definition at line 376 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_input_population(), generate_msl_fragment_output_population(), and generate_msl_fragment_struct().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_FragStencilRefARB |
Definition at line 377 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_output_population(), and generate_msl_fragment_struct().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_FrontFacing |
Definition at line 373 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_entry_stub(), and generate_msl_fragment_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_GlobalInvocationID |
Definition at line 382 of file mtl_shader_generator.hh.
Referenced by generate_msl_compute_entry_stub(), and generate_msl_compute_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_InstanceID |
Definition at line 371 of file mtl_shader_generator.hh.
Referenced by generate_msl_vertex_entry_stub(), and generate_msl_vertex_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_LocalInvocationID |
Definition at line 387 of file mtl_shader_generator.hh.
Referenced by generate_msl_compute_entry_stub(), and generate_msl_compute_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_LocalInvocationIndex |
Definition at line 386 of file mtl_shader_generator.hh.
Referenced by generate_msl_compute_entry_stub(), and generate_msl_compute_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_NumWorkGroups |
Definition at line 385 of file mtl_shader_generator.hh.
Referenced by generate_msl_compute_entry_stub(), and generate_msl_compute_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_PointCoord |
Definition at line 367 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_entry_stub(), and generate_msl_fragment_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_PointSize |
Definition at line 369 of file mtl_shader_generator.hh.
Referenced by generate_msl_vertex_out_struct(), and generate_msl_vertex_output_population().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_Position |
GL Global usage.
Definition at line 361 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_input_population(), generate_msl_vertex_out_struct(), and generate_msl_vertex_output_population().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_PrimitiveID |
Definition at line 374 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_entry_stub(), and generate_msl_fragment_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_VertexID |
Definition at line 370 of file mtl_shader_generator.hh.
Referenced by generate_msl_vertex_entry_stub(), and generate_msl_vertex_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_WorkGroupID |
Definition at line 384 of file mtl_shader_generator.hh.
Referenced by generate_msl_compute_entry_stub(), and generate_msl_compute_inputs_string().
| bool blender::gpu::MSLGeneratorInterface::uses_gl_WorkGroupSize |
Definition at line 383 of file mtl_shader_generator.hh.
| bool blender::gpu::MSLGeneratorInterface::uses_gpu_layer |
Definition at line 378 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_input_population(), generate_msl_vertex_out_struct(), and generate_msl_vertex_output_population().
| bool blender::gpu::MSLGeneratorInterface::uses_gpu_viewport_index |
Definition at line 379 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_input_population(), generate_msl_vertex_out_struct(), and generate_msl_vertex_output_population().
| blender::Vector<MSLVertexInputAttribute> blender::gpu::MSLGeneratorInterface::vertex_input_attributes |
Definition at line 344 of file mtl_shader_generator.hh.
Referenced by bake_shader_interface(), generate_msl_vertex_attribute_input_population(), generate_msl_vertex_in_struct(), generate_msl_vertex_inputs_string(), prepare_from_createinfo(), and resolve_input_attribute_locations().
| blender::Vector<MSLVertexOutputAttribute> blender::gpu::MSLGeneratorInterface::vertex_output_varyings |
Definition at line 345 of file mtl_shader_generator.hh.
Referenced by generate_msl_fragment_input_population(), generate_msl_vertex_out_struct(), and generate_msl_vertex_output_population().