1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

replace sampler arrays with constant sampler elements

This commit is contained in:
ChibiDenDen
2023-05-27 00:35:16 +03:00
parent 2210111eb5
commit 35715e510f
31 changed files with 196 additions and 327 deletions

View File

@@ -48,6 +48,8 @@ class RendererCanvasRenderRD : public RendererCanvasRender {
CANVAS_TEXTURE_UNIFORM_SET = 3,
};
const int SAMPLERS_BINDING_FIRST_INDEX = 10;
enum ShaderVariant {
SHADER_VARIANT_QUAD,
SHADER_VARIANT_NINEPATCH,