Home
last modified time | relevance | path

Searched refs:GetDimension (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_logicals.cpp66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
102 if (_.GetDimension(result_type) != _.GetDimension(left_operand_type)) in LogicalsPass()
207 if (_.GetDimension(condition_type) != dimension) { in LogicalsPass()
253 if (_.GetDimension(result_type) != _.GetDimension(left_type)) in LogicalsPass()
264 if (_.GetDimension(result_type) != _.GetDimension(right_type)) in LogicalsPass()
Dvalidate_conversion.cpp56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
86 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
118 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
149 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
184 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
220 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
303 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
526 _.GetBitWidth(result_type) * _.GetDimension(result_type); in ConversionPass()
528 _.GetBitWidth(input_type) * _.GetDimension(input_type); in ConversionPass()
Dvalidate_bitwise.cpp41 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass()
67 if (_.GetDimension(shift_type) != result_dimension) in BitwisePass()
83 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
96 if (_.GetDimension(type_id) != result_dimension) in BitwisePass()
200 const uint32_t base_dimension = _.GetDimension(base_type); in BitwisePass()
201 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
Dvalidate_extensions.cpp847 const uint32_t result_type_dimension = _.GetDimension(result_type); in ValidateExtInst()
858 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
1073 if (_.GetDimension(result_type) != _.GetDimension(exp_data_type)) { in ValidateExtInst()
1106 if (_.GetDimension(result_type) != _.GetDimension(exp_type)) { in ValidateExtInst()
1127 _.GetDimension(result_types[0]) != in ValidateExtInst()
1128 _.GetDimension(result_types[1])) { in ValidateExtInst()
1160 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst()
1180 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1198 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1210 _.GetDimension(result_type) != 4 || in ValidateExtInst()
[all …]
Dvalidate_image.cpp383 const uint32_t dx_size = _.GetDimension(dx_type_id); in ValidateImageOperands()
384 const uint32_t dy_size = _.GetDimension(dy_type_id); in ValidateImageOperands()
421 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands()
444 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands()
501 _.GetDimension(component_type) != 2) { in ValidateImageOperands()
1123 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
1176 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageLod()
1231 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1307 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageDrefLod()
1341 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageFetch()
[all …]
Dvalidate_arithmetics.cpp99 const uint32_t dimension = _.GetDimension(result_type); in ArithmeticsPass()
113 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass()
153 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass()
249 if (matrix_num_cols != _.GetDimension(result_type)) in ArithmeticsPass()
254 if (matrix_num_rows != _.GetDimension(vector_type_id)) in ArithmeticsPass()
298 if (matrix_num_cols != _.GetDimension(vector_type_id)) in ArithmeticsPass()
401 if (res_num_cols != _.GetDimension(right_type_id)) in ArithmeticsPass()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_logicals.cpp66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
102 if (_.GetDimension(result_type) != _.GetDimension(left_operand_type)) in LogicalsPass()
207 if (_.GetDimension(condition_type) != dimension) { in LogicalsPass()
253 if (_.GetDimension(result_type) != _.GetDimension(left_type)) in LogicalsPass()
264 if (_.GetDimension(result_type) != _.GetDimension(right_type)) in LogicalsPass()
Dvalidate_conversion.cpp56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
86 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
118 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
149 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
184 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
220 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
303 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
526 _.GetBitWidth(result_type) * _.GetDimension(result_type); in ConversionPass()
528 _.GetBitWidth(input_type) * _.GetDimension(input_type); in ConversionPass()
Dvalidate_bitwise.cpp41 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
51 if (_.GetDimension(base_type) != result_dimension) in BitwisePass()
67 if (_.GetDimension(shift_type) != result_dimension) in BitwisePass()
83 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
96 if (_.GetDimension(type_id) != result_dimension) in BitwisePass()
200 const uint32_t base_dimension = _.GetDimension(base_type); in BitwisePass()
201 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
Dvalidate_extensions.cpp847 const uint32_t result_type_dimension = _.GetDimension(result_type); in ValidateExtInst()
858 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
1073 if (_.GetDimension(result_type) != _.GetDimension(exp_data_type)) { in ValidateExtInst()
1106 if (_.GetDimension(result_type) != _.GetDimension(exp_type)) { in ValidateExtInst()
1127 _.GetDimension(result_types[0]) != in ValidateExtInst()
1128 _.GetDimension(result_types[1])) { in ValidateExtInst()
1160 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst()
1180 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1198 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1210 _.GetDimension(result_type) != 4 || in ValidateExtInst()
[all …]
Dvalidate_image.cpp383 const uint32_t dx_size = _.GetDimension(dx_type_id); in ValidateImageOperands()
384 const uint32_t dy_size = _.GetDimension(dy_type_id); in ValidateImageOperands()
421 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands()
444 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands()
501 _.GetDimension(component_type) != 2) { in ValidateImageOperands()
1123 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
1176 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageLod()
1231 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1307 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageDrefLod()
1341 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageFetch()
[all …]
Dvalidate_arithmetics.cpp99 const uint32_t dimension = _.GetDimension(result_type); in ArithmeticsPass()
113 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass()
153 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass()
249 if (matrix_num_cols != _.GetDimension(result_type)) in ArithmeticsPass()
254 if (matrix_num_rows != _.GetDimension(vector_type_id)) in ArithmeticsPass()
298 if (matrix_num_cols != _.GetDimension(vector_type_id)) in ArithmeticsPass()
401 if (res_num_cols != _.GetDimension(right_type_id)) in ArithmeticsPass()
/third_party/spirv-tools/source/val/
Dvalidate_logicals.cpp66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
102 if (_.GetDimension(result_type) != _.GetDimension(left_operand_type)) in LogicalsPass()
216 if (_.GetDimension(condition_type) != dimension) { in LogicalsPass()
262 if (_.GetDimension(result_type) != _.GetDimension(left_type)) in LogicalsPass()
273 if (_.GetDimension(result_type) != _.GetDimension(right_type)) in LogicalsPass()
Dvalidate_conversion.cpp56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
86 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
118 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
149 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
184 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
220 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
303 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass()
526 _.GetBitWidth(result_type) * _.GetDimension(result_type); in ConversionPass()
528 _.GetBitWidth(input_type) * _.GetDimension(input_type); in ConversionPass()
Dvalidate_bitwise.cpp73 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
83 if (_.GetDimension(base_type) != result_dimension) in BitwisePass()
99 if (_.GetDimension(shift_type) != result_dimension) in BitwisePass()
115 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
128 if (_.GetDimension(type_id) != result_dimension) in BitwisePass()
209 const uint32_t base_dimension = _.GetDimension(base_type); in BitwisePass()
210 const uint32_t result_dimension = _.GetDimension(result_type); in BitwisePass()
Dvalidate_extensions.cpp876 const uint32_t result_type_dimension = _.GetDimension(result_type); in ValidateExtInst()
887 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
1102 if (_.GetDimension(result_type) != _.GetDimension(exp_data_type)) { in ValidateExtInst()
1135 if (_.GetDimension(result_type) != _.GetDimension(exp_type)) { in ValidateExtInst()
1156 _.GetDimension(result_types[0]) != in ValidateExtInst()
1157 _.GetDimension(result_types[1])) { in ValidateExtInst()
1189 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst()
1209 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1227 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1239 _.GetDimension(result_type) != 4 || in ValidateExtInst()
[all …]
Dvalidate_ray_query.cpp98 if (!_.IsFloatVectorType(ray_origin) || _.GetDimension(ray_origin) != 3 || in RayQueryPass()
112 _.GetDimension(ray_direction) != 3 || in RayQueryPass()
206 _.GetDimension(result_type) != 3 || in RayQueryPass()
226 _.GetDimension(result_type) != 2 || in RayQueryPass()
Dvalidate_image.cpp386 const uint32_t dx_size = _.GetDimension(dx_type_id); in ValidateImageOperands()
387 const uint32_t dy_size = _.GetDimension(dy_type_id); in ValidateImageOperands()
424 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands()
447 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands()
504 _.GetDimension(component_type) != 2) { in ValidateImageOperands()
1136 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageTexelPointer()
1189 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageLod()
1246 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageLod()
1345 const uint32_t actual_coord_size = _.GetDimension(coord_type); in ValidateImageDrefLod()
1375 if (_.GetDimension(actual_result_type) != 4) { in ValidateImageFetch()
[all …]
Dvalidate_arithmetics.cpp99 const uint32_t dimension = _.GetDimension(result_type); in ArithmeticsPass()
113 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass()
153 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass()
249 if (matrix_num_cols != _.GetDimension(result_type)) in ArithmeticsPass()
254 if (matrix_num_rows != _.GetDimension(vector_type_id)) in ArithmeticsPass()
298 if (matrix_num_cols != _.GetDimension(vector_type_id)) in ArithmeticsPass()
401 if (res_num_cols != _.GetDimension(right_type_id)) in ArithmeticsPass()
Dvalidate_ray_tracing.cpp85 if (!_.IsFloatVectorType(ray_origin) || _.GetDimension(ray_origin) != 3 || in RayTracingPass()
99 _.GetDimension(ray_direction) != 3 || in RayTracingPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DExternalTexture.cpp38 DAWN_INVALID_IF(textureView->GetDimension() != wgpu::TextureViewDimension::e2D, in ValidateExternalTexturePlane()
40 textureView->GetDimension()); in ValidateExternalTexturePlane()
DCommandBuffer.cpp79 ASSERT(texture->GetDimension() != wgpu::TextureDimension::e1D); in IsCompleteSubresourceCopiedTo()
80 switch (texture->GetDimension()) { in IsCompleteSubresourceCopiedTo()
93 switch (copy.texture->GetDimension()) { in GetSubresourcesAffectedByCopy()
DTexture.h56 wgpu::TextureDimension GetDimension() const;
133 wgpu::TextureViewDimension GetDimension() const;
DBindGroup.cpp160 entry.textureView->GetDimension() != bindingInfo.texture.viewDimension, in ValidateTextureBinding()
162 entry.textureView->GetDimension(), entry.textureView, in ValidateTextureBinding()
180 entry.textureView->GetDimension() != in ValidateTextureBinding()
183 entry.textureView->GetDimension(), entry.textureView, in ValidateTextureBinding()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp588 resourceDescriptor.Dimension = D3D12TextureDimension(GetDimension()); in InitializeAsInternalTexture()
878 ASSERT(GetDimension() != wgpu::TextureDimension::e1D); in TransitionUsageAndGetResourceBarrier()
902 ASSERT(GetDimension() != wgpu::TextureDimension::e1D); in TrackUsageAndGetResourceBarrierForPass()
923 ASSERT(GetDimension() == wgpu::TextureDimension::e2D); in GetRTVDescriptor()
931 switch (GetDimension()) { in GetRTVDescriptor()
1073 if (GetDimension() == wgpu::TextureDimension::e3D) { in ClearTexture()
1248 ASSERT(texture->GetDimension() == wgpu::TextureDimension::e2D); in TextureView()
1259 ASSERT(texture->GetDimension() == wgpu::TextureDimension::e2D); in TextureView()
1270 ASSERT(texture->GetDimension() == wgpu::TextureDimension::e2D); in TextureView()
1280 ASSERT(texture->GetDimension() == wgpu::TextureDimension::e3D); in TextureView()
[all …]

123