Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.h158 ir3_shader_key_changes_fs(struct ir3_shader_key *key, struct ir3_shader_key *last_key) in ir3_shader_key_changes_fs() argument
160 if (last_key->has_per_samp || key->has_per_samp) { in ir3_shader_key_changes_fs()
161 if ((last_key->fsaturate_s != key->fsaturate_s) || in ir3_shader_key_changes_fs()
162 (last_key->fsaturate_t != key->fsaturate_t) || in ir3_shader_key_changes_fs()
163 (last_key->fsaturate_r != key->fsaturate_r) || in ir3_shader_key_changes_fs()
164 (last_key->fastc_srgb != key->fastc_srgb)) in ir3_shader_key_changes_fs()
168 if (last_key->fclamp_color != key->fclamp_color) in ir3_shader_key_changes_fs()
171 if (last_key->color_two_side != key->color_two_side) in ir3_shader_key_changes_fs()
174 if (last_key->half_precision != key->half_precision) in ir3_shader_key_changes_fs()
177 if (last_key->rasterflat != key->rasterflat) in ir3_shader_key_changes_fs()
[all …]
/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 (ir3_shader_key_changes_fs(last_key, key)) { in fixup_shader_state()
92 if (ir3_shader_key_changes_vs(last_key, key)) { in fixup_shader_state()
97 fd4_ctx->last_key = *key; in fixup_shader_state()
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 (ir3_shader_key_changes_fs(last_key, key)) { in fixup_shader_state()
108 if (ir3_shader_key_changes_vs(last_key, key)) { in fixup_shader_state()
113 fd3_ctx->last_key = *key; in fixup_shader_state()
Dfd3_context.h71 struct ir3_shader_key last_key; member
/external/tensorflow/tensorflow/core/lib/io/
Dtable_builder.cc78 string last_key; member
123 assert(key.compare(StringPiece(r->last_key)) > 0); in Add()
135 FindShortestSeparator(&r->last_key, key); in Add()
138 r->index_block.Add(r->last_key, StringPiece(handle_encoding)); in Add()
142 r->last_key.assign(key.data(), key.size()); in Add()
240 FindShortSuccessor(&r->last_key); in Finish()
243 r->index_block.Add(r->last_key, StringPiece(handle_encoding)); in Finish()
/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 (ir3_shader_key_changes_fs(last_key, key)) { in fixup_shader_state()
85 if (ir3_shader_key_changes_vs(last_key, key)) { in fixup_shader_state()
90 fd5_ctx->last_key = *key; in fixup_shader_state()
Dfd5_context.h78 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/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 …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c492 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) in do_test_lru_sanity5() argument
497 assert(!bpf_map_lookup_elem(map_fd, &last_key, value)); in do_test_lru_sanity5()
501 key = last_key + 1; in do_test_lru_sanity5()
506 assert(bpf_map_lookup_elem(map_fd, &last_key, value)); in do_test_lru_sanity5()