Просмотр исходного кода

glsl: Assert that interfaces, like structures, are not seen as leaf types

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tags/mesa-9.1-rc1
Ian Romanick 12 лет назад
Родитель
Сommit
bd963e12ef
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      src/glsl/link_uniforms.cpp

+ 4
- 0
src/glsl/link_uniforms.cpp Просмотреть файл

@@ -209,6 +209,8 @@ private:
{
assert(!type->is_record());
assert(!(type->is_array() && type->fields.array->is_record()));
assert(!type->is_interface());
assert(!(type->is_array() && type->fields.array->is_interface()));

(void) row_major;

@@ -316,6 +318,8 @@ private:
{
assert(!type->is_record());
assert(!(type->is_array() && type->fields.array->is_record()));
assert(!type->is_interface());
assert(!(type->is_array() && type->fields.array->is_interface()));

(void) row_major;


Загрузка…
Отмена
Сохранить