diff options
author | Jason Ekstrand <[email protected]> | 2015-06-19 17:19:38 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-23 14:28:08 -0700 |
commit | 630764407aeba4acf9364739bafb0e3516f72e31 (patch) | |
tree | 686e0c38365c3f8de0e69ecb763c18ed22b83424 /src/mesa/drivers/dri/i965/brw_fs.cpp | |
parent | ae097580ac49fbfaf184c89c68cb42b755f62939 (diff) |
i965: Replace some instances of brw->gen with devinfo->gen
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 903624c97cf..54dfe34c686 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3187,7 +3187,7 @@ fs_visitor::lower_integer_multiplication() fs_reg high(GRF, alloc.allocate(dispatch_width / 8), inst->dst.type, dispatch_width); - if (brw->gen >= 7) { + if (devinfo->gen >= 7) { fs_reg src1_0_w = inst->src[1]; fs_reg src1_1_w = inst->src[1]; @@ -3628,7 +3628,7 @@ fs_visitor::setup_vs_payload() void fs_visitor::setup_cs_payload() { - assert(brw->gen >= 7); + assert(devinfo->gen >= 7); payload.num_regs = 1; } |