mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:57:37 +02:00
Adjusting the number to 14 max UBO per shader stage after checking on opengl.glinfo.org
This commit is contained in:
parent
9776e1d15d
commit
6579e3c3d2
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ public:
|
||||||
|
|
||||||
// this is the maximum per shader stage on the low end apple
|
// this is the maximum per shader stage on the low end apple
|
||||||
// TODO make it platform dependant at init time
|
// TODO make it platform dependant at init time
|
||||||
static const int MAX_NUM_UNIFORM_BUFFERS = 15;
|
static const int MAX_NUM_UNIFORM_BUFFERS = 14;
|
||||||
size_t getMaxNumUniformBuffers() const { return MAX_NUM_UNIFORM_BUFFERS; }
|
size_t getMaxNumUniformBuffers() const { return MAX_NUM_UNIFORM_BUFFERS; }
|
||||||
|
|
||||||
// this is the maximum per shader stage on the low end apple
|
// this is the maximum per shader stage on the low end apple
|
||||||
|
|
|
@ -34,7 +34,7 @@ ProfileRangeBatch::~ProfileRangeBatch() {
|
||||||
using namespace gpu;
|
using namespace gpu;
|
||||||
|
|
||||||
// FIXME make these backend / pipeline dependent.
|
// FIXME make these backend / pipeline dependent.
|
||||||
static const int MAX_NUM_UNIFORM_BUFFERS = 15;
|
static const int MAX_NUM_UNIFORM_BUFFERS = 14;
|
||||||
static const int MAX_NUM_RESOURCE_BUFFERS = 16;
|
static const int MAX_NUM_RESOURCE_BUFFERS = 16;
|
||||||
static const int MAX_NUM_RESOURCE_TEXTURES = 16;
|
static const int MAX_NUM_RESOURCE_TEXTURES = 16;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue