summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2015-11-02 13:36:19 +0200
committerTapani Pälli <tapani.palli@intel.com>2015-11-12 14:15:29 +0200
commitf2fe6072617fd77f1abe213ff8fd2c233908b63d (patch)
treedb83cb994aed33e6cf2aedb0632804f5391b9bf1 /src/gallium/auxiliary/pipe-loader
parent7e6dac11866d264c21a108b9623114943d6e88ec (diff)
downloadexternal_mesa3d-f2fe6072617fd77f1abe213ff8fd2c233908b63d.zip
external_mesa3d-f2fe6072617fd77f1abe213ff8fd2c233908b63d.tar.gz
external_mesa3d-f2fe6072617fd77f1abe213ff8fd2c233908b63d.tar.bz2
glsl: set matrix_stride for non matrices with atomic counter buffers
Patch sets matrix_stride as 0 for non matrix uniforms that are in a atomic counter buffer. Matrix stride calculation for actual matrix uniforms is done during link_assign_uniform_locations. From ARB_program_interface_query specification: GL_MATRIX_STRIDE: "For active variables not declared as a matrix or array of matrices, zero is written to <params>. For active variables not backed by a buffer object, -1 is written to <params>, regardless of the variable type." Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader')
0 files changed, 0 insertions, 0 deletions