mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
don't bind resources unnecessarily
This commit is contained in:
parent
158be432fc
commit
272c24d8e4
8 changed files with 128 additions and 41 deletions
6
include/renderer_mtl/mtl_common.hpp
Normal file
6
include/renderer_mtl/mtl_common.hpp
Normal file
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <Metal/Metal.hpp>
|
||||
|
||||
#define GET_HELPER_TEXTURE_BINDING(binding) (30 - binding)
|
||||
#define GET_HELPER_SAMPLER_STATE_BINDING(binding) (15 - binding)
|
Loading…
Add table
Add a link
Reference in a new issue