|
Blender V5.3
|
#include <mtl_push_constant.hh>
Public Member Functions | |
| MTLPushConstantBuf (const shader::ShaderCreateInfo &info) | |
| ~MTLPushConstantBuf () | |
| int | append (shader::ShaderCreateInfo::PushConst push_constant) |
| uint8_t * | data () |
| const uint8_t * | data () const |
| size_t | size () const |
| bool | is_dirty () const |
| void | tag_dirty () |
| void | tag_updated () |
Definition at line 21 of file mtl_push_constant.hh.
| blender::gpu::MTLPushConstantBuf::MTLPushConstantBuf | ( | const shader::ShaderCreateInfo & | info | ) |
Definition at line 42 of file mtl_push_constant.cc.
References blender::BLI_assert(), blender::ceil_to_multiple_u(), blender::G, blender::G_DEBUG_GPU, blender::max_uu(), blender::MEM_new_array_zeroed_aligned, blender::gpu::padded_size(), push_constant, and blender::gpu::shader::ShaderCreateInfo::push_constants_.
| blender::gpu::MTLPushConstantBuf::~MTLPushConstantBuf | ( | ) |
Definition at line 67 of file mtl_push_constant.cc.
| int blender::gpu::MTLPushConstantBuf::append | ( | shader::ShaderCreateInfo::PushConst | push_constant | ) |
Definition at line 72 of file mtl_push_constant.cc.
References blender::BLI_assert(), blender::ceil_to_multiple_u(), blender::gpu::padded_size(), and push_constant.
Referenced by blender::gpu::MTLShaderInterface::MTLShaderInterface().
|
inline |
Definition at line 38 of file mtl_push_constant.hh.
Referenced by blender::gpu::ensure_push_constant().
|
inline |
Definition at line 43 of file mtl_push_constant.hh.
|
inline |
Definition at line 53 of file mtl_push_constant.hh.
Referenced by blender::gpu::MTLContext::compute_dispatch(), blender::gpu::MTLContext::compute_dispatch_indirect(), and blender::gpu::MTLContext::ensure_render_pipeline_state().
|
inline |
Definition at line 48 of file mtl_push_constant.hh.
Referenced by blender::gpu::ensure_push_constant().
|
inline |
Definition at line 58 of file mtl_push_constant.hh.
Referenced by blender::gpu::MTLContext::compute_dispatch(), blender::gpu::MTLContext::compute_dispatch_indirect(), and blender::gpu::MTLContext::ensure_render_pipeline_state().
|
inline |
Definition at line 63 of file mtl_push_constant.hh.
Referenced by blender::gpu::MTLContext::compute_dispatch(), blender::gpu::MTLContext::compute_dispatch_indirect(), and blender::gpu::MTLContext::ensure_render_pipeline_state().