Lines Matching refs:have
312 * If we can't use the D3D12 zero-one depth-range, we might have to apply
672 d3d12_compare_varying_info(const d3d12_varying_info *expect, const d3d12_varying_info *have)
674 if (expect->mask != have->mask)
686 if (memcmp(&expect->slots[slot], &have->slots[slot], sizeof(have->slots[slot])))
693 return !memcmp(expect, have, sizeof(struct d3d12_varying_info));
697 d3d12_compare_shader_keys(const d3d12_shader_key *expect, const d3d12_shader_key *have)
699 assert(expect->stage == have->stage);
701 assert(have);
703 if (expect->hash != have->hash)
710 &have->required_varying_inputs) ||
711 expect->next_varying_inputs != have->next_varying_inputs)
715 &have->required_varying_outputs) ||
716 expect->prev_varying_outputs != have->prev_varying_outputs)
721 if (!have->gs.writes_psize ||
722 expect->gs.point_pos_stream_out != have->gs.point_pos_stream_out ||
723 expect->gs.sprite_coord_enable != have->gs.sprite_coord_enable ||
724 expect->gs.sprite_origin_upper_left != have->gs.sprite_origin_upper_left ||
725 expect->gs.point_size_per_vertex != have->gs.point_size_per_vertex)
727 } else if (have->gs.writes_psize) {
730 if (expect->gs.primitive_id != have->gs.primitive_id ||
731 expect->gs.triangle_strip != have->gs.triangle_strip)
734 if (expect->fs.frag_result_color_lowering != have->fs.frag_result_color_lowering ||
735 expect->fs.manual_depth_range != have->fs.manual_depth_range ||
736 expect->fs.polygon_stipple != have->fs.polygon_stipple ||
737 expect->fs.cast_to_uint != have->fs.cast_to_uint ||
738 expect->fs.cast_to_int != have->fs.cast_to_int ||
739 expect->fs.remap_front_facing != have->fs.remap_front_facing ||
740 expect->fs.missing_dual_src_outputs != have->fs.missing_dual_src_outputs ||
741 expect->fs.multisample_disabled != have->fs.multisample_disabled)
744 if (memcmp(expect->cs.workgroup_size, have->cs.workgroup_size,
745 sizeof(have->cs.workgroup_size)))
748 if (expect->hs.primitive_mode != have->hs.primitive_mode ||
749 expect->hs.ccw != have->hs.ccw ||
750 expect->hs.point_mode != have->hs.point_mode ||
751 expect->hs.spacing != have->hs.spacing ||
752 expect->hs.patch_vertices_in != have->hs.patch_vertices_in ||
753 memcmp(&expect->hs.required_patch_outputs, &have->hs.required_patch_outputs,
755 expect->hs.next_patch_inputs != have->hs.next_patch_inputs)
758 if (expect->ds.tcs_vertices_out != have->ds.tcs_vertices_out ||
759 memcmp(&expect->ds.required_patch_inputs, &have->ds.required_patch_inputs,
761 expect->ds.prev_patch_outputs != have ->ds.prev_patch_outputs)
765 if (expect->input_clip_size != have->input_clip_size)
768 if (expect->tex_saturate_s != have->tex_saturate_s ||
769 expect->tex_saturate_r != have->tex_saturate_r ||
770 expect->tex_saturate_t != have->tex_saturate_t)
773 if (expect->samples_int_textures != have->samples_int_textures)
776 if (expect->n_texture_states != have->n_texture_states)
779 if (expect->n_images != have->n_images)
782 if (memcmp(expect->tex_wrap_states, have->tex_wrap_states,
786 if (memcmp(expect->swizzle_state, have->swizzle_state,
790 if (memcmp(expect->sampler_compare_funcs, have->sampler_compare_funcs,
794 if (memcmp(expect->image_format_conversion, have->image_format_conversion,
798 if (expect->invert_depth != have->invert_depth ||
799 expect->halfz != have->halfz)
803 if (expect->vs.needs_format_emulation != have->vs.needs_format_emulation)
807 if (memcmp(expect->vs.format_conversion, have->vs.format_conversion,
813 if (expect->fs.provoking_vertex != have->fs.provoking_vertex)
906 * to the output, and in cases of TES or GS you could have differently-sized inputs
1357 * on integer textures and TextureLoad is not supported for cube maps, so we have to