diff options
author | Timothy Arceri <[email protected]> | 2018-01-12 16:42:47 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-01-17 10:42:55 +1100 |
commit | dc520dafdcfccd20071dc560b39e3d93ffdbafe4 (patch) | |
tree | 69f10ee6eca93cac502b2c00c5c5d7dadd5ae649 /src | |
parent | b0413cfd8b84634db4a5bf57d550b21d0d2fa8f7 (diff) |
st/mesa: enable ARB_enhanced_layouts on nir drivers
I'm guessing this may have been disable because of missing
component packing support. However recent nir linking changes
required nir based gallium drivers to support component packing
so this should now be ok to enable.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 9ef0df1e926..c8411a69951 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -956,9 +956,7 @@ void st_init_extensions(struct pipe_screen *screen, } if (consts->GLSLVersion >= 140) { - if (screen->get_param(screen, PIPE_CAP_TGSI_ARRAY_COMPONENTS) && - screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT, - PIPE_SHADER_CAP_PREFERRED_IR) == PIPE_SHADER_IR_TGSI) + if (screen->get_param(screen, PIPE_CAP_TGSI_ARRAY_COMPONENTS)) extensions->ARB_enhanced_layouts = GL_TRUE; } |