intel/compiler: drop glsl options from brw_compiler
Only the nir options are used now, since i965 was dropped, the glsl options come from the state tracker Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14102>
This commit is contained in:
@@ -1486,7 +1486,7 @@ iris_compile_tcs(struct iris_screen *screen,
|
||||
{
|
||||
const struct brw_compiler *compiler = screen->compiler;
|
||||
const struct nir_shader_compiler_options *options =
|
||||
compiler->glsl_compiler_options[MESA_SHADER_TESS_CTRL].NirOptions;
|
||||
compiler->nir_options[MESA_SHADER_TESS_CTRL];
|
||||
void *mem_ctx = ralloc_context(NULL);
|
||||
struct brw_tcs_prog_data *tcs_prog_data =
|
||||
rzalloc(mem_ctx, struct brw_tcs_prog_data);
|
||||
@@ -2471,7 +2471,7 @@ iris_create_compute_state(struct pipe_context *ctx,
|
||||
struct iris_screen *screen = (void *) ctx->screen;
|
||||
struct u_upload_mgr *uploader = ice->shaders.uploader_unsync;
|
||||
const nir_shader_compiler_options *options =
|
||||
screen->compiler->glsl_compiler_options[MESA_SHADER_COMPUTE].NirOptions;
|
||||
screen->compiler->nir_options[MESA_SHADER_COMPUTE];
|
||||
|
||||
nir_shader *nir;
|
||||
switch (state->ir_type) {
|
||||
|
Reference in New Issue
Block a user