On 06/10/15 13:24, Timothy Arceri wrote:
> On Tue, 2015-10-06 at 10:26 +0200, Samuel Iglesias Gonsalvez wrote:
>> Signed-off-by: Samuel Iglesias Gonsalvez <sigles...@igalia.com>
>> Cc: Timothy Arceri <t_arc...@yahoo.com.au>
> 
> Reviewed-by: Timothy Arceri <t_arc...@yahoo.com.au>
> 

Thanks,

Sam

>> ---
>>  src/mesa/main/shader_query.cpp | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/mesa/main/shader_query.cpp
>> b/src/mesa/main/shader_query.cpp
>> index a1c80b1..9f8adcb 100644
>> --- a/src/mesa/main/shader_query.cpp
>> +++ b/src/mesa/main/shader_query.cpp
>> @@ -1014,7 +1014,7 @@ program_resource_top_level_array_stride(struct
>> gl_shader_program *shProg,
>>                 }
>>  
>>                 if (interface->interface_packing !=
>> GLSL_INTERFACE_PACKING_STD430) {
>> -                  if (array_type->is_record()) {
>> +                  if (array_type->is_record() || array_type
>> ->is_array()) {
>>                       array_stride = array_type
>> ->std140_size(row_major);
>>                       array_stride = glsl_align(array_stride, 16);
>>                    } else {
> 
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to