/third_party/spirv-tools/source/val/ |
D | validate_decorations.cpp | 73 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument 74 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() 83 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument 84 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() 92 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 93 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 102 bool isBlock(uint32_t struct_id, ValidationState_t& vstate) { in isBlock() argument 103 const auto& decorations = vstate.id_decorations(struct_id); in isBlock() 110 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument 111 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute() [all …]
|
D | validate.cpp | 157 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument 186 if (header.bound > vstate->options()->universal_limits_.max_id_bound) { in ValidateBinaryUsingContextAndValidationState() 190 << vstate->options()->universal_limits_.max_id_bound << "."; in ValidateBinaryUsingContextAndValidationState() 200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 215 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState() 233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState() 245 return vstate->diag(SPV_ERROR_INVALID_DATA, inst) in ValidateBinaryUsingContextAndValidationState() 259 if (!vstate->in_function_body()) { in ValidateBinaryUsingContextAndValidationState() 260 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState() [all …]
|
D | validate.h | 246 std::unique_ptr<ValidationState_t>* vstate);
|
D | validation_state.cpp | 118 ValidationState_t& vstate = in setHeader() local 120 vstate.setIdBound(id_bound); in setHeader() 121 vstate.setGenerator(generator); in setHeader() 122 vstate.setVersion(version); in setHeader()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument 72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() 81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument 82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() 90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 100 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument 101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute() 112 ValidationState_t& vstate) { in getStructMembers() argument 113 const auto inst = vstate.FindDef(struct_id); in getStructMembers() [all …]
|
D | validate.cpp | 157 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument 186 if (header.bound > vstate->options()->universal_limits_.max_id_bound) { in ValidateBinaryUsingContextAndValidationState() 190 << vstate->options()->universal_limits_.max_id_bound << "."; in ValidateBinaryUsingContextAndValidationState() 200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState() 233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState() 246 return vstate->diag(SPV_ERROR_INVALID_DATA, inst) in ValidateBinaryUsingContextAndValidationState() 255 if (!vstate->in_function_body()) { in ValidateBinaryUsingContextAndValidationState() 256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState() [all …]
|
D | validate.h | 237 std::unique_ptr<ValidationState_t>* vstate);
|
D | validation_state.cpp | 116 ValidationState_t& vstate = in setHeader() local 118 vstate.setIdBound(id_bound); in setHeader() 119 vstate.setGenerator(generator); in setHeader() 120 vstate.setVersion(version); in setHeader()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_decorations.cpp | 71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument 72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride() 81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument 82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() 90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 100 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument 101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute() 112 ValidationState_t& vstate) { in getStructMembers() argument 113 const auto inst = vstate.FindDef(struct_id); in getStructMembers() [all …]
|
D | validate.cpp | 157 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument 186 if (header.bound > vstate->options()->universal_limits_.max_id_bound) { in ValidateBinaryUsingContextAndValidationState() 190 << vstate->options()->universal_limits_.max_id_bound << "."; in ValidateBinaryUsingContextAndValidationState() 200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState() 233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState() 246 return vstate->diag(SPV_ERROR_INVALID_DATA, inst) in ValidateBinaryUsingContextAndValidationState() 255 if (!vstate->in_function_body()) { in ValidateBinaryUsingContextAndValidationState() 256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState() [all …]
|
D | validate.h | 237 std::unique_ptr<ValidationState_t>* vstate);
|
D | validation_state.cpp | 116 ValidationState_t& vstate = in setHeader() local 118 vstate.setIdBound(id_bound); in setHeader() 119 vstate.setGenerator(generator); in setHeader() 120 vstate.setVersion(version); in setHeader()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
D | validate_decorations.cpp | 33 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument 34 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct() 43 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument 44 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute() 53 spv_result_t CheckLinkageAttrOfFunctions(ValidationState_t& vstate) { in CheckLinkageAttrOfFunctions() argument 54 for (const auto& function : vstate.functions()) { in CheckLinkageAttrOfFunctions() 58 if (!hasImportLinkageAttribute(function.id(), vstate)) { in CheckLinkageAttrOfFunctions() 59 return vstate.diag(SPV_ERROR_INVALID_BINARY) in CheckLinkageAttrOfFunctions() 65 if (hasImportLinkageAttribute(function.id(), vstate)) { in CheckLinkageAttrOfFunctions() 66 return vstate.diag(SPV_ERROR_INVALID_BINARY) in CheckLinkageAttrOfFunctions() [all …]
|
D | validate.cpp | 239 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument 260 spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 266 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState() 270 if (vstate->in_function_body()) in ValidateBinaryUsingContextAndValidationState() 271 return vstate->diag(SPV_ERROR_INVALID_LAYOUT) in ValidateBinaryUsingContextAndValidationState() 277 if (vstate->unresolved_forward_id_count() > 0) { in ValidateBinaryUsingContextAndValidationState() 279 vector<uint32_t> ids = vstate->UnresolvedForwardIds(); in ValidateBinaryUsingContextAndValidationState() 282 bind(&ValidationState_t::getIdName, std::ref(*vstate), _1)); in ValidateBinaryUsingContextAndValidationState() 285 return vstate->diag(SPV_ERROR_INVALID_ID) in ValidateBinaryUsingContextAndValidationState() 292 if (auto error = PerformCfgChecks(*vstate)) return error; in ValidateBinaryUsingContextAndValidationState() [all …]
|
D | validate.h | 166 std::unique_ptr<libspirv::ValidationState_t>* vstate); 171 libspirv::ValidationState_t* vstate, const spv_parsed_instruction_t* inst);
|
/third_party/mesa3d/src/util/indices/ |
D | u_primconvert.c | 328 struct pipe_vertex_state *vstate, in util_primconvert_draw_vertex_state() argument 338 pc->pipe->draw_vertex_state(pc->pipe, vstate, partial_velem_mask, info, draws, num_draws); in util_primconvert_draw_vertex_state() 345 util_primconvert_draw_vertex_state(pc, vstate, partial_velem_mask, info, &draws[i], 1); in util_primconvert_draw_vertex_state() 354 dinfo.index.resource = vstate->input.indexbuf; in util_primconvert_draw_vertex_state() 359 … &vstate->input.vbuffer, in util_primconvert_draw_vertex_state() 360 … vstate->input.elements, in util_primconvert_draw_vertex_state() 361 … vstate->input.num_elements, in util_primconvert_draw_vertex_state() 363 … vstate->input.full_velem_mask); in util_primconvert_draw_vertex_state() 372 pipe_vertex_state_reference(&vstate, NULL); in util_primconvert_draw_vertex_state()
|
/third_party/toybox/toys/pending/ |
D | openvt.c | 59 struct vt_stat vstate; in openvt_main() local 64 if (-1 == (ioctl(fd = open_console(), VT_GETSTATE, &vstate)) || in openvt_main() 86 ioctl(fd, VT_ACTIVATE, vstate.v_active); in openvt_main() 87 ioctl(fd, VT_WAITACTIVE, vstate.v_active); in openvt_main()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_state.h | 141 zink_vertex_state_destroy(struct pipe_screen *pscreen, struct pipe_vertex_state *vstate); 150 zink_cache_vertex_state_destroy(struct pipe_screen *pscreen, struct pipe_vertex_state *vstate); 153 zink_vertex_state_mask(struct pipe_vertex_state *vstate, uint32_t partial_velem_mask, bool have_EXT…
|
D | zink_state.c | 725 zink_vertex_state_destroy(struct pipe_screen *pscreen, struct pipe_vertex_state *vstate) in zink_vertex_state_destroy() argument 727 struct zink_vertex_state *zstate = (struct zink_vertex_state *)vstate; in zink_vertex_state_destroy() 729 pipe_vertex_buffer_unreference(&vstate->input.vbuffer); in zink_vertex_state_destroy() 730 pipe_resource_reference(&vstate->input.indexbuf, NULL); in zink_vertex_state_destroy() 731 FREE(vstate); in zink_vertex_state_destroy() 735 zink_vertex_state_mask(struct pipe_vertex_state *vstate, uint32_t partial_velem_mask, bool have_EXT… in zink_vertex_state_mask() argument 737 struct zink_vertex_state *zstate = (struct zink_vertex_state *)vstate; in zink_vertex_state_mask() 739 if (partial_velem_mask == vstate->input.full_velem_mask) in zink_vertex_state_mask() 748 u_foreach_bit(elem, vstate->input.full_velem_mask & partial_velem_mask) { in zink_vertex_state_mask() 749 unsigned idx = util_bitcount(vstate->input.full_velem_mask & BITFIELD_MASK(elem)); in zink_vertex_state_mask() [all …]
|
D | zink_draw.cpp | 159 struct pipe_vertex_state *vstate, uint32_t partial_velem_mask) in zink_bind_vertex_state() argument 161 if (!vstate->input.vbuffer.buffer.resource) in zink_bind_vertex_state() 164 …const struct zink_vertex_elements_hw_state *hw_state = zink_vertex_state_mask(vstate, partial_vele… in zink_bind_vertex_state() 167 struct zink_resource *res = zink_resource(vstate->input.vbuffer.buffer.resource); in zink_bind_vertex_state() 169 VkDeviceSize offset = vstate->input.vbuffer.buffer_offset; in zink_bind_vertex_state() 413 struct pipe_vertex_state *vstate, in zink_draw() argument 739 zink_bind_vertex_state(batch, ctx, vstate, partial_velem_mask); in zink_draw() 896 struct pipe_vertex_state *vstate, in zink_draw_vertex_state() argument 907 dinfo.index.resource = vstate->input.indexbuf; in zink_draw_vertex_state() 909 struct zink_resource *res = zink_resource(vstate->input.vbuffer.buffer.resource); in zink_draw_vertex_state() [all …]
|
D | zink_context.h | 181 struct pipe_vertex_state *vstate,
|
/third_party/libxml2/ |
D | valid.c | 297 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr]; in vstateVPush() 331 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr - 1]; in vstateVPop() 333 ctxt->vstate = NULL; in vstateVPop() 361 #define CONT ctxt->vstate->cont 362 #define NODE ctxt->vstate->node 363 #define DEPTH ctxt->vstate->depth 364 #define OCCURS ctxt->vstate->occurs 365 #define STATE ctxt->vstate->state 367 #define OCCURRENCE (ctxt->vstate->occurs & (1 << DEPTH)) 368 #define PARENT_OCCURRENCE (ctxt->vstate->occurs & ((1 << DEPTH) - 1)) [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_draw.cpp | 1901 struct si_vertex_state *vstate = (struct si_vertex_state *)state; in si_upload_and_prefetch_VB_descriptors() local 1916 vstate->velems.vb_desc_list_alloc_size : in si_upload_and_prefetch_VB_descriptors() 1956 radeon_emit_array(&vstate->descriptors[velem_index * 4], 4); in si_upload_and_prefetch_VB_descriptors() 1965 memcpy(desc, &vstate->descriptors[velem_index * 4], 16); in si_upload_and_prefetch_VB_descriptors() 1968 if (vstate->b.input.vbuffer.buffer.resource != vstate->b.input.indexbuf) { in si_upload_and_prefetch_VB_descriptors() 1970 si_resource(vstate->b.input.vbuffer.buffer.resource), in si_upload_and_prefetch_VB_descriptors() 2249 struct si_vertex_state *vstate = (struct si_vertex_state *)state; in si_draw() local 2252 (IS_DRAW_VERTEX_STATE && vstate->velems.count < vs->info.num_vs_inputs) || in si_draw() 2640 struct pipe_vertex_state *vstate, in si_draw_vertex_state() argument 2646 struct si_vertex_state *state = (struct si_vertex_state *)vstate; in si_draw_vertex_state() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_screen.c | 1313 struct pipe_vertex_state *vstate = in trace_screen_create_vertex_state() local 1316 trace_dump_ret(ptr, vstate); in trace_screen_create_vertex_state() 1318 return vstate; in trace_screen_create_vertex_state()
|
/third_party/libxml2/include/libxml/ |
D | valid.h | 98 xmlValidState *vstate; /* current state */ member
|