Change tex_adr type to mjtSize.
Adds a test which verifies that we can index into the texture buffer at offsets larger than can be represented by a 32-bit signed int. PiperOrigin-RevId: 868756646 Change-Id: Ibc1a2b269fce41aec370611b0aab77803837e7a8
This commit is contained in:
committed by
Copybara-Service
parent
2b5afce4aa
commit
d881e9e374
@@ -3621,7 +3621,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
StructFieldDecl(
|
||||
name='tex_adr',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='int'),
|
||||
inner_type=ValueType(name='mjtSize'),
|
||||
),
|
||||
doc='start address in tex_data',
|
||||
array_extent=('ntex',),
|
||||
|
||||
Reference in New Issue
Block a user