diff options
author | Brian Paul <brianp@vmware.com> | 2009-01-09 09:59:49 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-09 09:59:49 -0700 |
commit | ca03e881a8d8fa3e36a601238559c20311373633 (patch) | |
tree | 4d33d0bd8366babbac96e0d3f744c8e8ab46fa76 /src/mesa/vbo/vbo_split.c | |
parent | 4497a5a57d0fdb5c5ec15750e477aeb49f5e453d (diff) |
glsl: make minimum struct size = 2, not 1
1-component structs such as "struct foo { float x; }" could get placed at
any position within a register. This caused some trouble computing the
field offset which assumed all struct objects were placed at R.x.
It would be unusual to hit this case in normal shaders.
Diffstat (limited to 'src/mesa/vbo/vbo_split.c')
0 files changed, 0 insertions, 0 deletions