Home
last modified time | relevance | path

Searched refs:last_key (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.c84 struct ir3_shader_key *last_key = &fd4_ctx->last_key; in fixup_shader_state() local
86 if (!ir3_shader_key_equal(last_key, key)) { in fixup_shader_state()
87 if (last_key->has_per_samp || key->has_per_samp) { in fixup_shader_state()
88 if ((last_key->vsaturate_s != key->vsaturate_s) || in fixup_shader_state()
89 (last_key->vsaturate_t != key->vsaturate_t) || in fixup_shader_state()
90 (last_key->vsaturate_r != key->vsaturate_r) || in fixup_shader_state()
91 (last_key->vastc_srgb != key->vastc_srgb)) in fixup_shader_state()
94 if ((last_key->fsaturate_s != key->fsaturate_s) || in fixup_shader_state()
95 (last_key->fsaturate_t != key->fsaturate_t) || in fixup_shader_state()
96 (last_key->fsaturate_r != key->fsaturate_r) || in fixup_shader_state()
[all …]
Dfd4_context.h75 struct ir3_shader_key last_key; member
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_draw.c100 struct ir3_shader_key *last_key = &fd3_ctx->last_key; in fixup_shader_state() local
102 if (!ir3_shader_key_equal(last_key, key)) { in fixup_shader_state()
103 if (last_key->has_per_samp || key->has_per_samp) { in fixup_shader_state()
104 if ((last_key->vsaturate_s != key->vsaturate_s) || in fixup_shader_state()
105 (last_key->vsaturate_t != key->vsaturate_t) || in fixup_shader_state()
106 (last_key->vsaturate_r != key->vsaturate_r)) in fixup_shader_state()
109 if ((last_key->fsaturate_s != key->fsaturate_s) || in fixup_shader_state()
110 (last_key->fsaturate_t != key->fsaturate_t) || in fixup_shader_state()
111 (last_key->fsaturate_r != key->fsaturate_r)) in fixup_shader_state()
115 if (last_key->vclamp_color != key->vclamp_color) in fixup_shader_state()
[all …]
Dfd3_context.h71 struct ir3_shader_key last_key; member
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.c77 struct ir3_shader_key *last_key = &fd5_ctx->last_key; in fixup_shader_state() local
79 if (!ir3_shader_key_equal(last_key, key)) { in fixup_shader_state()
80 if (last_key->has_per_samp || key->has_per_samp) { in fixup_shader_state()
81 if ((last_key->vsaturate_s != key->vsaturate_s) || in fixup_shader_state()
82 (last_key->vsaturate_t != key->vsaturate_t) || in fixup_shader_state()
83 (last_key->vsaturate_r != key->vsaturate_r) || in fixup_shader_state()
84 (last_key->vastc_srgb != key->vastc_srgb)) in fixup_shader_state()
87 if ((last_key->fsaturate_s != key->fsaturate_s) || in fixup_shader_state()
88 (last_key->fsaturate_t != key->fsaturate_t) || in fixup_shader_state()
89 (last_key->fsaturate_r != key->fsaturate_r) || in fixup_shader_state()
[all …]
Dfd5_context.h82 struct ir3_shader_key last_key; member
/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexshader9.h65 uint64_t last_key; member
104 res = vs->last_key != key; in NineVertexShader9_UpdateKey()
Dpixelshader9.h55 uint64_t last_key; member
105 res = ps->last_key != key; in NinePixelShader9_UpdateKey()
Dpixelshader9.c79 This->last_key = 0; in NinePixelShader9_ctor()
153 if (key == This->last_key) in NinePixelShader9_GetVariant()
181 This->last_key = key; in NinePixelShader9_GetVariant()
Dvertexshader9.c95 This->last_key = (uint32_t) (info.swvp_on << 9); in NineVertexShader9_ctor()
181 if (key == This->last_key) in NineVertexShader9_GetVariant()
208 This->last_key = key; in NineVertexShader9_GetVariant()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c505 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) in do_test_lru_sanity5() argument
510 assert(!bpf_map_lookup_elem(map_fd, &last_key, value)); in do_test_lru_sanity5()
514 key = last_key + 1; in do_test_lru_sanity5()
519 assert(bpf_map_lookup_elem(map_fd, &last_key, value)); in do_test_lru_sanity5()
/external/protobuf/src/google/protobuf/
Dmap_test.cc325 int last_key = 0; in TEST_P() local
331 last_key = in TEST_P()
332 static_cast<int>(frog) >= 0 ? static_cast<int>(frog) : last_key ^ 1; in TEST_P()
333 GOOGLE_DCHECK_GE(last_key, 0); in TEST_P()
334 map[last_key] = last_key ^ 1; in TEST_P()
472 int last_key = 0; in StressTestIterators() local
478 last_key = in StressTestIterators()
479 static_cast<int>(frog) >= 0 ? static_cast<int>(frog) : last_key ^ 1; in StressTestIterators()
480 GOOGLE_DCHECK_GE(last_key, 0); in StressTestIterators()
481 m[last_key] = last_key ^ 1; in StressTestIterators()
[all …]