platform/upstream/Vulkan-LoaderAndValidationLayers.git
9 years agoglave: Added comments noting glave work still to be done for xgl.h updates
Tobin Ehlis [Thu, 22 Jan 2015 19:29:31 +0000 (12:29 -0700)]
glave: Added comments noting glave work still to be done for xgl.h updates

Conflicts:
glave-generate.py

9 years agolayers: Continuing to update DrawState for new binding model
Tobin Ehlis [Thu, 22 Jan 2015 17:45:21 +0000 (10:45 -0700)]
layers: Continuing to update DrawState for new binding model

Conflicts:
layers/draw_state.c
layers/draw_state.h

9 years agolayers: Updated API codegen to handle AllocDescriptorSets
Tobin Ehlis [Tue, 20 Jan 2015 16:48:48 +0000 (09:48 -0700)]
layers: Updated API codegen to handle AllocDescriptorSets

9 years agoglave: Trace and replay codegen handles AllocDescriptorSets
Tobin Ehlis [Tue, 20 Jan 2015 20:50:59 +0000 (13:50 -0700)]
glave: Trace and replay codegen handles AllocDescriptorSets

Conflicts:
glave-generate.py

9 years agolayers: Updating MemTracker and DrawState interfaces to match API updates
Tobin Ehlis [Mon, 19 Jan 2015 15:42:29 +0000 (08:42 -0700)]
layers: Updating MemTracker and DrawState interfaces to match API updates

Still need to update functionality internal to the layers.

Conflicts:
layers/draw_state.c
layers/mem_tracker.c

9 years agoVarious code clean-ups for glave and codegen with updated xgl.h
Tobin Ehlis [Fri, 16 Jan 2015 22:13:34 +0000 (15:13 -0700)]
Various code clean-ups for glave and codegen with updated xgl.h

Conflicts:
glave-generate.py

9 years agoAdded Mark's change to track Fence submit
Tobin Ehlis [Fri, 16 Jan 2015 15:56:30 +0000 (08:56 -0700)]
Added Mark's change to track Fence submit

Conflicts:
layers/object_track.h

9 years agoGlave now compiling although I'm certain it's very broken.
Tobin Ehlis [Fri, 16 Jan 2015 00:53:54 +0000 (17:53 -0700)]
Glave now compiling although I'm certain it's very broken.

Time to start sifting through the code now to make it as functional as possible for when the driver catches up and we can really test things again.

Conflicts:
glave-generate.py

9 years agoAll of the codegen for layers is now working well enough that the generated layers...
Tobin Ehlis [Fri, 16 Jan 2015 00:51:52 +0000 (17:51 -0700)]
All of the codegen for layers is now working well enough that the generated layers will compile.

Lots of updates required to DrawState and MemTracker layers so just commenting them out the build initially.

Conflicts:
layers/draw_state.c
layers/multi.cpp
xgl-layer-generate.py
xgl.py

9 years agoinstance: Remove xglInitAndEnumerateGpus
Jon Ashburn [Thu, 29 Jan 2015 23:54:38 +0000 (16:54 -0700)]
instance: Remove xglInitAndEnumerateGpus

9 years agoloader: Add loops for multiple instances on global debug calls
Jon Ashburn [Thu, 29 Jan 2015 23:44:24 +0000 (16:44 -0700)]
loader: Add loops for multiple instances on global debug calls

9 years agotests: Convert to using Instancing APIs rather than xglInitAndEnumerateGpus
Jon Ashburn [Thu, 29 Jan 2015 22:48:00 +0000 (15:48 -0700)]
tests: Convert to using Instancing APIs rather than xglInitAndEnumerateGpus

9 years agodemos: Convert to using Instancing API rather than xglInitAndEnumerateGpus()
Jon Ashburn [Thu, 29 Jan 2015 22:47:01 +0000 (15:47 -0700)]
demos: Convert to using Instancing API rather than xglInitAndEnumerateGpus()

9 years agoloader: Finish implement CreateInstance and DestroyInstance
Jon Ashburn [Thu, 29 Jan 2015 22:45:51 +0000 (15:45 -0700)]
loader: Finish implement CreateInstance and DestroyInstance

9 years agoloader: Implement EnumerateGpus()
Jon Ashburn [Thu, 29 Jan 2015 02:57:09 +0000 (19:57 -0700)]
loader: Implement EnumerateGpus()

9 years agointel: Implement EnumerateGpus()
Jon Ashburn [Thu, 29 Jan 2015 02:15:45 +0000 (19:15 -0700)]
intel: Implement EnumerateGpus()

9 years agointel: Instance functions create and destroy objects
Jon Ashburn [Thu, 29 Jan 2015 01:26:16 +0000 (18:26 -0700)]
intel: Instance functions create and destroy objects

Also they do the same init and removal as existing InitAndEnumerateGpus.

9 years agoloader: Place icds into the instance, scan icds prior to instance create
Jon Ashburn [Wed, 28 Jan 2015 18:01:35 +0000 (11:01 -0700)]
loader: Place icds into the instance, scan icds prior to instance create

9 years agoinstance: Added initial {Create|Destroy}Instance() and xglEnumerateGpus().
Jon Ashburn [Mon, 26 Jan 2015 21:51:40 +0000 (14:51 -0700)]
instance: Added initial {Create|Destroy}Instance() and xglEnumerateGpus().

For now, retain the existing InitAndEnumerateGpus and have it create one
instance. New APIs aren't fully implemented yet in driver or loader.

9 years agoxgl: Fix pMemBarriers references
Mark Lobodzinski [Thu, 29 Jan 2015 20:24:14 +0000 (14:24 -0600)]
xgl:  Fix pMemBarriers references

Arrays of MemBarrier pointers were incorrectly declared.  Reference
bug #13273, for xgl header rev #42.

9 years agoxgl: Remove XGL_* typedef wrappers
Mark Lobodzinski [Thu, 29 Jan 2015 14:55:56 +0000 (08:55 -0600)]
xgl:  Remove XGL_* typedef wrappers

Part of moving to xgl.h rev#38, svn rev 29293-29302

9 years agoxgl: Updated headers for some missed SVN revisions
Mark Lobodzinski [Thu, 29 Jan 2015 16:04:52 +0000 (10:04 -0600)]
xgl:  Updated headers for some missed SVN revisions

Miscellaneous updates for SVN revs 29191, 29205 and 29241.  Basically
adding MAX_ENUM, copyright notices, and improved type definitions.

9 years agointel: Fix DBG_OBJECT_TYPE range
Jon Ashburn [Wed, 28 Jan 2015 22:05:09 +0000 (15:05 -0700)]
intel: Fix DBG_OBJECT_TYPE range

9 years agoxgl: Add fast clear APIs
Mark Lobodzinski [Wed, 28 Jan 2015 19:29:48 +0000 (13:29 -0600)]
xgl:  Add fast clear APIs

Added new APIs for optimized clears of color and depth buffers.
Bug# 13172, due to a bug in rev39, this also accounts for the change
in rev41.

9 years agoxgl: Remove extraneous structSizes
Courtney Goeltzenleuchter [Tue, 27 Jan 2015 18:07:21 +0000 (11:07 -0700)]
xgl: Remove extraneous structSizes

Alpha header rev: r29437
Bug #13299

9 years agoxgl: header updates for XGL_RESULT
Courtney Goeltzenleuchter [Tue, 27 Jan 2015 17:54:01 +0000 (10:54 -0700)]
xgl: header updates for XGL_RESULT

alpha header version: r29593
XGL_RESULT is the XGL return codes.
Agreement part of F2F Jan 26, 2015.

9 years agoxgl: fix constness of pointers
Chia-I Wu [Wed, 28 Jan 2015 06:00:47 +0000 (14:00 +0800)]
xgl: fix constness of pointers

9 years agoxgl: Add framebuffer-no-attachment support
Mark Lobodzinski [Tue, 27 Jan 2015 19:24:03 +0000 (13:24 -0600)]
xgl:  Add framebuffer-no-attachment support

Add default values if no attachments are present, correctly handle
override values when attachments are present.  Bug# 13212, header
revision #36.

9 years agoUpdate XGL_FORMAT.
Jeremy Hayes [Fri, 23 Jan 2015 15:51:43 +0000 (08:51 -0700)]
Update XGL_FORMAT.

9 years agoxgl: Add begin/end_range to all enums
Mark Lobodzinski [Mon, 26 Jan 2015 23:06:34 +0000 (17:06 -0600)]
xgl:  Add begin/end_range to all enums

Cosmetic change to xgl header for rev# 37, bug# 13244.

9 years agoxgl: Rename XGL_WAIT_EVENT enum in header
Mark Lobodzinski [Mon, 26 Jan 2015 23:02:32 +0000 (17:02 -0600)]
xgl:  Rename XGL_WAIT_EVENT enum in header

For svn rev# 29226, generalized an XGL_WAIT_EVENT enum.

9 years agoxgl: Bump rev for Command Atomic update
Courtney Goeltzenleuchter [Mon, 26 Jan 2015 22:09:47 +0000 (15:09 -0700)]
xgl: Bump rev for Command Atomic update

Bug #: 12997
Alpha header revision: r29249

9 years agoxgl: Remove xglCmdAtomics
Courtney Goeltzenleuchter [Wed, 21 Jan 2015 16:59:59 +0000 (09:59 -0700)]
xgl: Remove xglCmdAtomics

Implement changes for alpha header version 0.35.
Bug #12998.

9 years agoxgl: Rename semaphore enums
Mark Lobodzinski [Mon, 26 Jan 2015 16:34:00 +0000 (10:34 -0600)]
xgl:  Rename semaphore enums

Cosmetic xgl header change for xgl.h revision #40.

9 years agotests: Fix testbinding alloc_mem method
Jon Ashburn [Thu, 22 Jan 2015 18:40:11 +0000 (11:40 -0700)]
tests: Fix testbinding alloc_mem method

Set memProps for BUFFER allocations. Keep track of primary_mem if have
multiple allocations based on which allocation req has a BUFFER or IMAGE type.

9 years agointel: Set the memType in mem_requirements for all objects
Jon Ashburn [Thu, 22 Jan 2015 17:52:13 +0000 (10:52 -0700)]
intel: Set the memType in mem_requirements for all objects

Conflicts:
icd/intel/event.c
icd/intel/img.c

9 years agointel: Fix CreateImage format_class for linear tiled images.
Jon Ashburn [Wed, 21 Jan 2015 00:22:07 +0000 (17:22 -0700)]
intel: Fix CreateImage format_class for linear tiled images.

9 years agomemory alloc: Remove last heaps from memory alloc and requirements
Jon Ashburn [Tue, 20 Jan 2015 23:59:42 +0000 (16:59 -0700)]
memory alloc: Remove last heaps from  memory alloc  and requirements

Also reorder memory_alloc_info struct as memPriority added back in as last
member in struct.

Conflicts:
demos/cube.c
demos/tri.c
icd/intel/buf.c
icd/intel/event.c
icd/intel/img.c
icd/intel/mem.c
icd/intel/pipeline.c
icd/intel/query.c
include/xgl.h
tests/image_tests.cpp
tests/init.cpp
tests/render_tests.cpp
tests/xgltestbinding.cpp
tests/xgltestbinding.h

9 years agomemory alloc: Remove alignment from alloc_info structure
Jon Ashburn [Tue, 20 Jan 2015 23:38:02 +0000 (16:38 -0700)]
memory alloc: Remove alignment from alloc_info structure

Conflicts:
icd/intel/mem.c

9 years agomemory alloc: Remove MEMORY_ALLOC_FLAGS add MEMORY_TYPE
Jon Ashburn [Tue, 20 Jan 2015 22:06:59 +0000 (15:06 -0700)]
memory alloc: Remove MEMORY_ALLOC_FLAGS  add MEMORY_TYPE

9 years agomemory alloc: Remove memory_heap flags replace with memory_property flags
Jon Ashburn [Tue, 20 Jan 2015 20:55:32 +0000 (13:55 -0700)]
memory alloc:  Remove memory_heap flags replace with memory_property flags

Conflicts:
include/xgl.h
tests/image_tests.cpp
tests/init.cpp
tests/xgltestbinding.h

9 years agomemory alloc: For buffer allocations use the buffer_info structure
Jon Ashburn [Tue, 20 Jan 2015 15:50:12 +0000 (08:50 -0700)]
memory alloc:  For buffer allocations use the buffer_info structure

Add to the tests and demos  the buffer usage.

Conflicts:
tests/xgltestbinding.cpp

9 years agomemory alloc: Add IMAGE and BUFFER alloc info structures
Jon Ashburn [Mon, 19 Jan 2015 22:00:26 +0000 (15:00 -0700)]
memory alloc: Add IMAGE and BUFFER alloc info structures

For images have the tests fill in the IMAGE_ALLOC structures.  For buffers
this is not yet done.

Conflicts:
demos/cube.c
demos/tri.c
include/xgl.h
tests/init.cpp
tests/xgltestbinding.cpp

9 years agomemory alloc: Add MEMORY_ALLOCATION_COUNT support and usage in tests.
Jon Ashburn [Fri, 16 Jan 2015 16:37:43 +0000 (09:37 -0700)]
memory alloc: Add MEMORY_ALLOCATION_COUNT support and usage in tests.

Driver always does one allocation but tests support drivers with N allocations.

Conflicts:
demos/cube.c
demos/tri.c
tests/image_tests.cpp
tests/render_tests.cpp

9 years agomemory alloc: Add allocation index to BindObjectMemory
Jon Ashburn [Thu, 15 Jan 2015 17:39:19 +0000 (10:39 -0700)]
memory alloc: Add allocation index to BindObjectMemory

For now it is always index 0.  Updates, driver, glave, tests, demos, include,
and layers.

9 years agomemory alloc: Remove xglGetMemoryHeapXXX from driver,loader, glave, layers
Jon Ashburn [Wed, 14 Jan 2015 17:44:00 +0000 (10:44 -0700)]
memory alloc: Remove xglGetMemoryHeapXXX from driver,loader, glave, layers

9 years agotests: Remove calls to xglGetMemoryHeapXXX
Jon Ashburn [Wed, 14 Jan 2015 16:58:23 +0000 (09:58 -0700)]
tests: Remove calls to xglGetMemoryHeapXXX

Conflicts:
tests/xgltestbinding.cpp

9 years agodemos: Remove calls to xglGetMemoryHeapXXX in xglinfo
Jon Ashburn [Wed, 14 Jan 2015 16:56:21 +0000 (09:56 -0700)]
demos: Remove calls to xglGetMemoryHeapXXX in xglinfo

9 years agoxgl: move to new resource binding model
Chia-I Wu [Sun, 4 Jan 2015 08:27:24 +0000 (16:27 +0800)]
xgl: move to new resource binding model

All except layout(set=) is supported.  The change to
pipeline_compiler_interface.{cpp,h} is ugly and fragile.  It should be fixed
after adding layout(set=) support.

9 years agodemos, tests: use XGL_BUFFER_VIEW_RAW for constant buffers
Chia-I Wu [Fri, 16 Jan 2015 14:31:25 +0000 (22:31 +0800)]
demos, tests: use XGL_BUFFER_VIEW_RAW for constant buffers

9 years agointel: initialize raw buffer SURFACE_STATEs on view creation
Chia-I Wu [Fri, 16 Jan 2015 09:38:37 +0000 (17:38 +0800)]
intel: initialize raw buffer SURFACE_STATEs on view creation

Initialize the SURFACE_STATE for fs once in intel_buf_view_create().  There is
one subtle change: we only use overridden SURFACE_STATEs for raw buffers now.

9 years agocomplete fixed-function vertex fetch support
Chia-I Wu [Sun, 18 Jan 2015 06:51:02 +0000 (14:51 +0800)]
complete fixed-function vertex fetch support

Update xgl.h (cosmetic changes only).  Add support for new formats.

v2: fix blit tests and enhance xglinfo for new formats

9 years agointel: fix DEPTH_STENCIL_STATE on Gen6
Chia-I Wu [Sat, 24 Jan 2015 04:49:28 +0000 (12:49 +0800)]
intel: fix DEPTH_STENCIL_STATE on Gen6

pipeline_build_depth_stencil() should be called on all Gens.

9 years agointel: set stencil masks for front and back faces
Courtney Goeltzenleuchter [Fri, 23 Jan 2015 22:21:37 +0000 (15:21 -0700)]
intel: set stencil masks for front and back faces

9 years agoBIL: Update to support descriptor set GLSL features
Courtney Goeltzenleuchter [Fri, 23 Jan 2015 21:00:52 +0000 (14:00 -0700)]
BIL: Update to support descriptor set GLSL features

9 years agoxgl: Fix syntax error
Courtney Goeltzenleuchter [Fri, 23 Jan 2015 18:47:02 +0000 (11:47 -0700)]
xgl: Fix syntax error

9 years agoxgl: resource transition integrated, update xgl.h version
Mike Stroyan [Mon, 19 Jan 2015 18:37:12 +0000 (11:37 -0700)]
xgl: resource transition integrated, update xgl.h version

9 years agoxgl: Resource transition proposal from Bug 12904.
Mike Stroyan [Thu, 4 Dec 2014 11:08:39 +0000 (11:08 +0000)]
xgl: Resource transition proposal from Bug 12904.

Added resource transition proposal from Bug 12904.
Updated function prototypes.
Added XGL_IMAGE_CREATE_MUTABLE_FORMAT_BIT based on Intel's request.
Unless this flag is specified, image views created from the image must match the base format.
xgl.py: changes for resource tracking
loader: changes for resource tracking
icd: changes for resource tracking
tests: changes for resource tracking
demos: changes for resource tracking

9 years agoxgl: Dynamic State complete, update header version
Courtney Goeltzenleuchter [Wed, 21 Jan 2015 00:54:08 +0000 (17:54 -0700)]
xgl: Dynamic State complete, update header version

9 years agodriver:implement changes for Dynamic State
Tony Barbour [Fri, 16 Jan 2015 21:27:35 +0000 (14:27 -0700)]
driver:implement changes for Dynamic State

9 years agointel: Fix undefined references
Courtney Goeltzenleuchter [Fri, 23 Jan 2015 21:27:58 +0000 (14:27 -0700)]
intel: Fix undefined references

9 years agoRemove unnecessary semicolon
Tony Barbour [Fri, 23 Jan 2015 18:48:13 +0000 (11:48 -0700)]
Remove unnecessary semicolon

9 years agoIntel: Initialize stencil_ref before using
Tony Barbour [Fri, 23 Jan 2015 01:01:18 +0000 (18:01 -0700)]
Intel: Initialize stencil_ref before using

9 years agotests:Fix memory leak
Tony Barbour [Tue, 20 Jan 2015 00:58:15 +0000 (17:58 -0700)]
tests:Fix memory leak

9 years agoxgl: Buffer Object integrated, update xgl.h version
Courtney Goeltzenleuchter [Fri, 16 Jan 2015 00:19:45 +0000 (17:19 -0700)]
xgl: Buffer Object integrated, update xgl.h version

9 years agoupdate for buffer object changes
Chia-I Wu [Wed, 31 Dec 2014 23:55:04 +0000 (07:55 +0800)]
update for buffer object changes

9 years agoxgl: Tiler updates complete, Update header version
Courtney Goeltzenleuchter [Thu, 15 Jan 2015 20:02:34 +0000 (13:02 -0700)]
xgl: Tiler updates complete, Update header version

9 years agomisc: Fix tiler rebase in driver, tests, include
Jeremy Hayes [Wed, 14 Jan 2015 23:17:08 +0000 (16:17 -0700)]
misc: Fix tiler rebase in driver, tests, include

9 years agoglave: Make tiler GPU changes work for tracing and replaying
Jon Ashburn [Sat, 3 Jan 2015 01:28:26 +0000 (18:28 -0700)]
glave: Make tiler GPU changes work for tracing and replaying

The tracing  and replay code gen didn't handle all the special cases
for the removal of CmdBindAttachments() and the addition of nested structures
with pointers and objects  in the three APIs: CreateFramebuffer,
CreateRenderPass, BeginCommandBuffer.  It now does!

9 years agotests: Remove CmdBindAttachments() for Tiler Gpus
Jon Ashburn [Sat, 3 Jan 2015 01:27:14 +0000 (18:27 -0700)]
tests: Remove CmdBindAttachments() for Tiler Gpus

9 years agodemos: Remove CmdBindAttachments() for tiler Gpus
Jon Ashburn [Sat, 3 Jan 2015 01:24:05 +0000 (18:24 -0700)]
demos: Remove CmdBindAttachments() for tiler Gpus

9 years agolayers: Remove CmdBindAttachment() for tiler GPUs
Jon Ashburn [Sat, 3 Jan 2015 01:22:38 +0000 (18:22 -0700)]
layers: Remove CmdBindAttachment() for tiler GPUs

9 years agointel: Remove CmdBindAttachments for tiler GPUs
Jon Ashburn [Fri, 9 Jan 2015 01:54:34 +0000 (18:54 -0700)]
intel: Remove CmdBindAttachments for tiler GPUs

Conflicts:
icd/intel/cmd.c
icd/intel/cmd_pipeline.c

9 years agoinclude: Remove CmdBindAttachments()
Jon Ashburn [Sat, 3 Jan 2015 01:15:22 +0000 (18:15 -0700)]
include: Remove CmdBindAttachments()

9 years agolayers: Update BeginCommandBuffer API for Tiler Gpus
Jon Ashburn [Thu, 1 Jan 2015 00:11:49 +0000 (17:11 -0700)]
layers: Update BeginCommandBuffer API for Tiler Gpus

9 years agotests: Update BeginCommandBuffer Api for Tiler GPUs
Jon Ashburn [Thu, 1 Jan 2015 00:10:47 +0000 (17:10 -0700)]
tests: Update BeginCommandBuffer Api for Tiler GPUs

9 years agodemos: Change BeginCommandBuffer for Tiler Gpus
Jon Ashburn [Thu, 1 Jan 2015 00:08:35 +0000 (17:08 -0700)]
demos: Change BeginCommandBuffer for Tiler Gpus

9 years agointel: Add render target attachments at BeginCommandBuffer for TilerGpus
Jon Ashburn [Fri, 9 Jan 2015 01:48:10 +0000 (18:48 -0700)]
intel: Add render target attachments at BeginCommandBuffer for TilerGpus

Still allow for binding via CmdBindAttachments as the default if no
RENDER_PASS object is specified at begin time.  This allows for easier testing.

9 years agoinclude: xglBeginCommandBuffer API changed for Tiler Gpus
Jon Ashburn [Wed, 31 Dec 2014 23:56:13 +0000 (16:56 -0700)]
include: xglBeginCommandBuffer API changed for Tiler Gpus

Bump version patch number also.

9 years agoglave: Add support for new APIs to support Tiler Gpus
Jon Ashburn [Wed, 31 Dec 2014 18:30:53 +0000 (11:30 -0700)]
glave: Add support for new APIs to support Tiler Gpus

Adds support for xglCreateFramebuffer and xglCreateRenderPass

9 years agointel: Add new APIs for Tiler GPU support
Jon Ashburn [Wed, 24 Dec 2014 19:38:36 +0000 (12:38 -0700)]
intel: Add new APIs for Tiler GPU support

The new APIs create objects but don't do anything yet so they are just a shell.

9 years agoinclude: Add new API changes including structs/enums for Tiling GPU support
Jon Ashburn [Wed, 24 Dec 2014 19:09:06 +0000 (12:09 -0700)]
include: Add new API changes including structs/enums for Tiling GPU support

Omit changes for now that alter existing APIs: xglcmdBindAttachments and
xglBeginCommandBuffer

Bump the API version patch number, since we are diverging our version numbers
from the SVN  history. This is necessary since we are not implementing header
changes in the same order they were added to SVN header.

9 years agoXGL: Move to svn r28460.
Jeremy Hayes [Wed, 14 Jan 2015 21:58:37 +0000 (14:58 -0700)]
XGL: Move to svn r28460.

9 years agoxgl: Do not build layers or glave during xgl.h update
Courtney Goeltzenleuchter [Wed, 14 Jan 2015 22:21:10 +0000 (15:21 -0700)]
xgl: Do not build layers or glave during xgl.h update

9 years agocompiler: fix beginForLoop() in glass backend translator.
GregF [Tue, 27 Jan 2015 20:47:39 +0000 (13:47 -0700)]
compiler: fix beginForLoop() in glass backend translator.

Specifically, generate break with a compare that is opposite the compare
that would be used in the corresponding for loop.

9 years agocmake: Fix BIL overlay to glslang
Cody Northrop [Tue, 27 Jan 2015 18:31:41 +0000 (11:31 -0700)]
cmake: Fix BIL overlay to glslang

9 years agocompiler: Connect shader depth flags to driver
Cody Northrop [Mon, 26 Jan 2015 21:41:36 +0000 (14:41 -0700)]
compiler: Connect shader depth flags to driver

Populate the bits to inform driver of how the fragment shader
is going to use depth, including KILL.

Also slight change to send more information than was available
before, letting hardware know if new depth is GE/LE source depth.

v2: Create enum for depth mode for cleaner use.

9 years agointel: Add cmake external dependency checks
Cody Northrop [Fri, 23 Jan 2015 23:21:02 +0000 (16:21 -0700)]
intel: Add cmake external dependency checks

9 years agotests: Fix regresions in trace/replay from uninitialized parameters.
Jon Ashburn [Thu, 22 Jan 2015 20:33:15 +0000 (13:33 -0700)]
tests: Fix regresions in trace/replay  from uninitialized parameters.

9 years agointel: constify intel_gpu_exts
Chia-I Wu [Sun, 18 Jan 2015 08:02:55 +0000 (16:02 +0800)]
intel: constify intel_gpu_exts

9 years agointel: constify intel_base_magic
Chia-I Wu [Sun, 18 Jan 2015 03:32:18 +0000 (11:32 +0800)]
intel: constify intel_base_magic

9 years agointel: add -Wmissing-declarations
Chia-I Wu [Sun, 18 Jan 2015 03:22:13 +0000 (11:22 +0800)]
intel: add -Wmissing-declarations

Useful when a function is removed from the public API but the driver is not
updated.

9 years agointel: add -Wl,--exclude-libs,ALL
Chia-I Wu [Sun, 18 Jan 2015 03:11:42 +0000 (11:11 +0800)]
intel: add -Wl,--exclude-libs,ALL

Now only the public API (xgl*) is exported.

9 years agocmake: fix up gtest and set -fvisibility=hidden globally
Chia-I Wu [Sun, 18 Jan 2015 03:09:29 +0000 (11:09 +0800)]
cmake: fix up gtest and set -fvisibility=hidden globally

9 years agoicd: update glslang, bil and lunarglass
GregF [Tue, 20 Jan 2015 18:55:00 +0000 (11:55 -0700)]
icd: update glslang, bil and lunarglass

Move ahead with versions installed by update_external_sources.sh

9 years agoicd: Link ICD with -Bsymbolic
GregF [Tue, 20 Jan 2015 18:51:00 +0000 (11:51 -0700)]
icd: Link ICD with -Bsymbolic

We were previously linking with -Bsymbolic-functions, but this was not
sufficient as it caused glslang virtual function calls to still be linked
to rendersystemtest copy of glslang.

9 years agoinclude: set version to 0.22.1 for recent ABI changes
Jon Ashburn [Fri, 16 Jan 2015 16:48:37 +0000 (09:48 -0700)]
include: set version to 0.22.1 for recent ABI changes

While this branch is divereged from Khronos SVN sequence of xgl.h versions.
Any ABI change in this branch  should increment the patch number: XX.YY.ZZ++.
Glave relies on the xgl.h version number to track trace file compatibility.

9 years agoloader: Fix infinite loop on layer library scan if dlopen fails
Jon Ashburn [Fri, 16 Jan 2015 15:46:38 +0000 (08:46 -0700)]
loader: Fix infinite loop on layer library scan if dlopen fails

9 years agointel: fix undefined references
Chia-I Wu [Tue, 13 Jan 2015 04:06:03 +0000 (12:06 +0800)]
intel: fix undefined references

Add -Wl,-no-undefined and fix all linking errors (by commenting them out).

9 years agointel: Set gen7 stencil reference
Mike Stroyan [Thu, 15 Jan 2015 18:27:12 +0000 (11:27 -0700)]
intel: Set gen7 stencil reference

The stencil reference value for gen7 had uninitialized value.