xgl: Add new resource type for textures
authorCody Northrop <cody@lunarg.com>
Wed, 10 Dec 2014 02:08:33 +0000 (19:08 -0700)
committerCody Northrop <cody@lunarg.com>
Wed, 10 Dec 2014 23:29:04 +0000 (16:29 -0700)
commit52c51260f99b1a03985674cda24893d9fa98a4a2
tree678c2b12e7962e5a0ca29a7800d92063b6368bc3
parent574dca6542a7b82bb287a9f4df1832f11d9a66a3
xgl: Add new resource type for textures

This change modifies xgl.h to include a new descriptor set
slot type for textures, distinct from resources:

    XGL_SLOT_SHADER_TEXTURE_RESOURCE

Buffers continue to use:

    XGL_SLOT_SHADER_RESOURCE

The ordering of their inclusion in binding tables entries is
important: textures must come before buffers.  This is how
the compiler expects them to be laid out.
include/xgl.h
layers/draw_state.c