diff options
author | Chia-I Wu <[email protected]> | 2015-05-09 21:39:34 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-06-14 15:43:20 +0800 |
commit | 9af1fc590d90fdda65aa0cf145773480af52a4e5 (patch) | |
tree | 7b40d76bbdd91acabd00b777f9d99b27fa07ed9f /src/gallium/drivers/ilo/ilo_shader.c | |
parent | 9cb0df4b50593e69f65b65704f5b64f3a12be9b5 (diff) |
ilo: update genhw headers
Generate these new enums
enum gen_reorder_mode;
enum gen_clip_mode;
enum gen_front_winding;
enum gen_fill_mode;
enum gen_cull_mode;
enum gen_pixel_location;
enum gen_sample_count;
enum gen_inputattr_select;
enum gen_msrast_mode;
enum gen_prefilter_op;
Correct the type of GEN6_SAMPLER_DW0_BASE_LOD. Rename gen_logicop_function,
gen_sampler_mip_filter, gen_sampler_map_filter, gen_sampler_aniso_ratio, and
others.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c index 799db2cbfcb..af467064fe4 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -930,7 +930,8 @@ ilo_shader_select_kernel_routing(struct ilo_shader_state *shader, src_slot + 1 < routing->source_len && src_semantics[src_slot + 1] == TGSI_SEMANTIC_BCOLOR && src_indices[src_slot + 1] == index) { - routing->swizzles[dst_slot] |= GEN8_SBE_SWIZ_INPUTATTR_FACING; + routing->swizzles[dst_slot] |= GEN6_INPUTATTR_FACING << + GEN8_SBE_SWIZ_SWIZZLE_SELECT__SHIFT; src_slot++; } |