[Mesa-dev] [PATCH v2 35/82] i965/fs: Do not split buffer variables

Jordan Justen jordan.l.justen at intel.com
Fri Jul 10 15:20:07 PDT 2015


Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

On 2015-06-03 00:01:25, Iago Toral Quiroga wrote:
> Buffer variables are the same as uniforms, only that read/write, so we want
> the same treatment.
> ---
>  src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
> index 01d3a56..61b6ebc 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
> @@ -104,6 +104,7 @@ ir_vector_reference_visitor::get_variable_entry(ir_variable *var)
>  
>     switch (var->data.mode) {
>     case ir_var_uniform:
> +   case ir_var_shader_storage:
>     case ir_var_shader_in:
>     case ir_var_shader_out:
>     case ir_var_system_value:
> -- 
> 1.9.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list