Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/metal/mtl_shader.hh
| Show First 20 Lines • Show All 255 Lines • ▼ Show 20 Lines | public: | ||||
| void bind() override; | void bind() override; | ||||
| void unbind() override; | void unbind() override; | ||||
| void uniform_float(int location, int comp_len, int array_size, const float *data) override; | void uniform_float(int location, int comp_len, int array_size, const float *data) override; | ||||
| void uniform_int(int location, int comp_len, int array_size, const int *data) override; | void uniform_int(int location, int comp_len, int array_size, const int *data) override; | ||||
| bool get_push_constant_is_dirty(); | bool get_push_constant_is_dirty(); | ||||
| void push_constant_bindstate_mark_dirty(bool is_dirty); | void push_constant_bindstate_mark_dirty(bool is_dirty); | ||||
| void vertformat_from_shader(GPUVertFormat *format) const override; | |||||
| /* DEPRECATED: Kept only because of BGL API. (Returning -1 in METAL). */ | /* DEPRECATED: Kept only because of BGL API. (Returning -1 in METAL). */ | ||||
| int program_handle_get() const override | int program_handle_get() const override | ||||
| { | { | ||||
| return -1; | return -1; | ||||
| } | } | ||||
| bool get_uses_ssbo_vertex_fetch() | bool get_uses_ssbo_vertex_fetch() | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 892 Lines • Show Last 20 Lines | |||||