mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Update SPIRV-Cross.
This commit is contained in:
parent
90fd5657b5
commit
50ea084385
@ -1492,6 +1492,8 @@ ifeq ($(HAVE_SPIRV_CROSS), 1)
|
||||
OBJ += $(DEPS_DIR)/SPIRV-Cross/spirv_glsl.o
|
||||
OBJ += $(DEPS_DIR)/SPIRV-Cross/spirv_hlsl.o
|
||||
OBJ += $(DEPS_DIR)/SPIRV-Cross/spirv_msl.o
|
||||
OBJ += $(DEPS_DIR)/SPIRV-Cross/spirv_parser.o
|
||||
OBJ += $(DEPS_DIR)/SPIRV-Cross/spirv_cross_parsed_ir.o
|
||||
endif
|
||||
|
||||
ifeq ($(WANT_WGL), 1)
|
||||
|
@ -330,8 +330,7 @@ static bool add_active_buffer_ranges(
|
||||
{
|
||||
unsigned i;
|
||||
/* Get which uniforms are actually in use by this shader. */
|
||||
std::vector<spirv_cross::BufferRange> ranges =
|
||||
compiler.get_active_buffer_ranges(resource.id);
|
||||
auto ranges = compiler.get_active_buffer_ranges(resource.id);
|
||||
|
||||
for (i = 0; i < ranges.size(); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user