std.Target: Handle mesa3d in c_type_bit_size().

This commit is contained in:
Alex Rønne Petersen 2024-08-06 17:27:07 +02:00
parent 23b5a6c71e
commit ef502daafe
No known key found for this signature in database

View File

@ -2250,7 +2250,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
.longdouble => return 64,
},
.amdhsa, .amdpal => switch (c_type) {
.amdhsa, .amdpal, .mesa3d => switch (c_type) {
.char => return 8,
.short, .ushort => return 16,
.int, .uint, .float => return 32,
@ -2280,7 +2280,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
.rtems,
.aix,
.elfiamcu,
.mesa3d,
.contiki,
.hermit,
.hurd,