mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
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:
parent
56b4d82729
commit
30e749c8f1
2 changed files with 2 additions and 2 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue