vk: Further reduce diff to master

Now that we don't compile GLSL, we can roll back a few more hacks and
unexport some things from the backend compiler.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
This commit is contained in:
Kristian Høgsberg Kristensen
2015-09-04 11:46:43 -07:00
parent 7c1d20dc48
commit 8af3624651
4 changed files with 9 additions and 29 deletions
+1 -9
View File
@@ -676,8 +676,6 @@ anv_compiler_create(struct anv_device *device)
compiler->device = device;
compiler->brw->optionCache.info = NULL;
compiler->brw->bufmgr = NULL;
compiler->brw->gen = devinfo->gen;
compiler->brw->is_g4x = devinfo->is_g4x;
compiler->brw->is_baytrail = devinfo->is_baytrail;
@@ -709,15 +707,9 @@ anv_compiler_create(struct anv_device *device)
ctx = &compiler->brw->ctx;
_mesa_init_shader_object_functions(&ctx->Driver);
_mesa_init_constants(&ctx->Const, API_OPENGL_CORE);
/* Set dd::NewShader */
brwInitFragProgFuncs(&ctx->Driver);
/* brw_select_clip_planes() needs this for bogus reasons. */
ctx->_Shader = &compiler->pipeline;
compiler->brw->precompile = false;
return compiler;
fail: