Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/metal/mtl_shader_generator.hh
| Show First 20 Lines • Show All 376 Lines • ▼ Show 20 Lines | public: | ||||
| /* Should match vertex outputs, but defined separately as | /* Should match vertex outputs, but defined separately as | ||||
| * some shader permutations will not utilize all inputs/outputs. | * some shader permutations will not utilize all inputs/outputs. | ||||
| * Final shader uses the intersection between the two sets. */ | * Final shader uses the intersection between the two sets. */ | ||||
| blender::Vector<MSLVertexOutputAttribute> fragment_input_varyings; | blender::Vector<MSLVertexOutputAttribute> fragment_input_varyings; | ||||
| blender::Vector<MSLFragmentOutputAttribute> fragment_outputs; | blender::Vector<MSLFragmentOutputAttribute> fragment_outputs; | ||||
| /* Transform feedback interface. */ | /* Transform feedback interface. */ | ||||
| blender::Vector<MSLVertexOutputAttribute> vertex_output_varyings_tf; | blender::Vector<MSLVertexOutputAttribute> vertex_output_varyings_tf; | ||||
| /* Clip Distances. */ | /* Clip Distances. */ | ||||
| blender::Vector<std::string> clip_distances; | blender::Vector<char> clip_distances; | ||||
| /* Shared Memory Blocks. */ | /* Shared Memory Blocks. */ | ||||
| blender::Vector<MSLSharedMemoryBlock> shared_memory_blocks; | blender::Vector<MSLSharedMemoryBlock> shared_memory_blocks; | ||||
| /** GL Global usage. */ | /** GL Global usage. */ | ||||
| /* Whether GL position is used, or an alternative vertex output should be the default. */ | /* Whether GL position is used, or an alternative vertex output should be the default. */ | ||||
| bool uses_gl_Position; | bool uses_gl_Position; | ||||
| /* Whether gl_FragColor is used, or whether an alternative fragment output | /* Whether gl_FragColor is used, or whether an alternative fragment output | ||||
| * should be the default. */ | * should be the default. */ | ||||
| ▲ Show 20 Lines • Show All 396 Lines • Show Last 20 Lines | |||||