i965/cnl: Update few assertions
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -1156,7 +1156,7 @@ brw_stage_has_packed_dispatch(const struct gen_device_info *devinfo,
|
||||
* to do a full test run with brw_fs_test_dispatch_packing() hooked up to
|
||||
* the NIR front-end before changing this assertion.
|
||||
*/
|
||||
assert(devinfo->gen <= 9);
|
||||
assert(devinfo->gen <= 10);
|
||||
|
||||
switch (stage) {
|
||||
case MESA_SHADER_FRAGMENT: {
|
||||
|
@@ -290,7 +290,7 @@ brw_memory_barrier(struct gl_context *ctx, GLbitfield barriers)
|
||||
unsigned bits = (PIPE_CONTROL_DATA_CACHE_FLUSH |
|
||||
PIPE_CONTROL_NO_WRITE |
|
||||
PIPE_CONTROL_CS_STALL);
|
||||
assert(brw->gen >= 7 && brw->gen <= 9);
|
||||
assert(brw->gen >= 7 && brw->gen <= 10);
|
||||
|
||||
if (barriers & (GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT |
|
||||
GL_ELEMENT_ARRAY_BARRIER_BIT |
|
||||
|
Reference in New Issue
Block a user