[Libva] [PATCH 1/8] Fix the incorrect sampler_state offset for INTERFACE_DESCRIPTOR_DATA on BDW+
Xiang, Haihao
haihao.xiang at intel.com
Fri Nov 11 04:44:33 UTC 2016
LGTM,
> Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> ---
> src/i965_gpe_utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/i965_gpe_utils.c b/src/i965_gpe_utils.c
> index 3ec164d..a29237b 100644
> --- a/src/i965_gpe_utils.c
> +++ b/src/i965_gpe_utils.c
> @@ -1684,7 +1684,7 @@ gen8_gpe_setup_interface_data(VADriverContextP
> ctx,
> memset(desc, 0, sizeof(*desc));
> desc->desc0.kernel_start_pointer = kernel->kernel_offset >>
> 6;
> desc->desc3.sampler_count = 0;
> - desc->desc3.sampler_state_pointer = gpe_context-
> >sampler_offset;
> + desc->desc3.sampler_state_pointer = (gpe_context-
> >sampler_offset >> 5);
> desc->desc4.binding_table_entry_count = 0;
> desc->desc4.binding_table_pointer = (gpe_context-
> >surface_state_binding_table.binding_table_offset >> 5);
> desc->desc5.constant_urb_entry_read_offset = 0;
More information about the Libva
mailing list