summaryrefslogtreecommitdiff
path: root/src/gallium/README.portability
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-09 09:59:49 -0700
committerBrian Paul <brianp@vmware.com>2009-01-09 10:11:09 -0700
commita719d704741ae21d1b12138c863f22286b98a5af (patch)
tree45ab3d5ca487fb0fd47f9d57a96d2717aaa01004 /src/gallium/README.portability
parent630b6e896b30d8e856c1c86f4b67f64111ba59f5 (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