Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/metal/mtl_shader_generator.hh
| Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | |||||
| struct MSLTextureSampler { | struct MSLTextureSampler { | ||||
| ShaderStage stage; | ShaderStage stage; | ||||
| shader::ImageType type; | shader::ImageType type; | ||||
| std::string name; | std::string name; | ||||
| MSLTextureSamplerAccess access; | MSLTextureSamplerAccess access; | ||||
| uint location; | uint location; | ||||
| eGPUTextureType get_texture_binding_type() const; | eGPUTextureType get_texture_binding_type() const; | ||||
| eGPUSamplerFormat get_sampler_format() const; | |||||
| void resolve_binding_indices(); | void resolve_binding_indices(); | ||||
| MSLTextureSampler(ShaderStage in_stage, | MSLTextureSampler(ShaderStage in_stage, | ||||
| shader::ImageType in_sampler_type, | shader::ImageType in_sampler_type, | ||||
| std::string in_sampler_name, | std::string in_sampler_name, | ||||
| MSLTextureSamplerAccess in_access, | MSLTextureSamplerAccess in_access, | ||||
| uint in_location) | uint in_location) | ||||
| ▲ Show 20 Lines • Show All 489 Lines • Show Last 20 Lines | |||||