diff options
| author | Andy Nichols <andy.nichols@qt.io> | 2022-08-04 13:56:24 +0200 |
|---|---|---|
| committer | Andy Nichols <nezticle@gmail.com> | 2022-08-12 12:51:59 +0200 |
| commit | ea1f17226705567ba8c20c3d400ab76724fc4bd7 (patch) | |
| tree | a080f6ab20130e47dd4f22a2c85f7561dfac13a4 /tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.cpp | |
| parent | 0c716c687a8c65e7907912d6d5d6beb891238a95 (diff) | |
RHI: Cache ShaderResourceBindings for Metal
We current have lots of redundant state bindings for things like
SamplerState that could reduced by checking if the state is already set.
ShaderResourceBindings are fairly involved to cache since they are done
in batches. This patch stores the current ShaderResourceBindings state
and checkes the current state before setting a new one.
Change-Id: If15ebd2b8b14b016f492d881197e423773c30ef7
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.cpp')
0 files changed, 0 insertions, 0 deletions
