diff options
author | Alejandro PiƱeiro <[email protected]> | 2016-04-21 12:23:47 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2017-01-12 12:56:35 +0100 |
commit | f8310189f4a31c443657cd0c1aef35db02b86c95 (patch) | |
tree | a9b16baca5f5494dc1835f8631e11970f8d0b819 /include/CL/cl_gl_ext.h | |
parent | 329cbe363dcc465764719d91f8f31c8606769ba4 (diff) |
i965/vec4: use attribute slots for first non payload GRF
As part of the payload setup, setup_attributes is called with the first
GRF that can be used for the attributes (first ones are used for
uniforms for example) and returns the first GRF that is not part of the
payload. Before this patch, it adds directly the number of attributes.
But as with 64-bit attributes can consume more than one slot, that is
not valid anymore. This patch change the addition to use the number of
slots consumed.
gen >= 8 would not be affected, as they use the scalar mode. For that
case, the vs configuration is done at fs_visitor::assign_vs_urb_setup.
v2: add explanation in commit log (Jordan)
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'include/CL/cl_gl_ext.h')
0 files changed, 0 insertions, 0 deletions