diff options
author | Brian Paul <brianp@vmware.com> | 2009-01-09 09:59:49 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-09 10:11:09 -0700 |
commit | a719d704741ae21d1b12138c863f22286b98a5af (patch) | |
tree | 45ab3d5ca487fb0fd47f9d57a96d2717aaa01004 /src/gallium/README.portability | |
parent | 630b6e896b30d8e856c1c86f4b67f64111ba59f5 (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.
(cherry picked from master, commit ca03e881a8d8fa3e36a601238559c20311373633)
Diffstat (limited to 'src/gallium/README.portability')
0 files changed, 0 insertions, 0 deletions