Merge branch 'blender-v4.3-release'
This commit is contained in:
@@ -344,7 +344,7 @@ void GPUCodegen::generate_attribs()
|
||||
/* Input declaration, loading / assignment to interface and geometry shader passthrough. */
|
||||
std::stringstream load_ss;
|
||||
|
||||
int slot = 15;
|
||||
int slot = GPU_shader_draw_parameters_support() ? 15 : 14;
|
||||
LISTBASE_FOREACH (GPUMaterialAttribute *, attr, &graph.attributes) {
|
||||
if (slot == -1) {
|
||||
BLI_assert_msg(0, "Too many attributes");
|
||||
|
||||
Reference in New Issue
Block a user