From 5286a7bc4ccf8da0827b0352f40dbce651b57d09 Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Sun, 5 Dec 2021 16:33:44 -0500 Subject: [PATCH] shader_recompiler: Rename backend emit_context files --- src/shader_recompiler/CMakeLists.txt | 12 ++++++------ .../{emit_context.cpp => glasm_emit_context.cpp} | 0 .../glasm/{emit_context.h => glasm_emit_context.h} | 0 .../glsl/{emit_context.cpp => glsl_emit_context.cpp} | 0 .../glsl/{emit_context.h => glsl_emit_context.h} | 0 .../{emit_context.cpp => spirv_emit_context.cpp} | 0 .../spirv/{emit_context.h => spirv_emit_context.h} | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename src/shader_recompiler/backend/glasm/{emit_context.cpp => glasm_emit_context.cpp} (100%) rename src/shader_recompiler/backend/glasm/{emit_context.h => glasm_emit_context.h} (100%) rename src/shader_recompiler/backend/glsl/{emit_context.cpp => glsl_emit_context.cpp} (100%) rename src/shader_recompiler/backend/glsl/{emit_context.h => glsl_emit_context.h} (100%) rename src/shader_recompiler/backend/spirv/{emit_context.cpp => spirv_emit_context.cpp} (100%) rename src/shader_recompiler/backend/spirv/{emit_context.h => spirv_emit_context.h} (100%) diff --git a/src/shader_recompiler/CMakeLists.txt b/src/shader_recompiler/CMakeLists.txt index bc3df80c82..4c76ce1ea8 100644 --- a/src/shader_recompiler/CMakeLists.txt +++ b/src/shader_recompiler/CMakeLists.txt @@ -1,7 +1,5 @@ add_library(shader_recompiler STATIC backend/bindings.h - backend/glasm/emit_context.cpp - backend/glasm/emit_context.h backend/glasm/emit_glasm.cpp backend/glasm/emit_glasm.h backend/glasm/emit_glasm_barriers.cpp @@ -22,10 +20,10 @@ add_library(shader_recompiler STATIC backend/glasm/emit_glasm_special.cpp backend/glasm/emit_glasm_undefined.cpp backend/glasm/emit_glasm_warp.cpp + backend/glasm/glasm_emit_context.cpp + backend/glasm/glasm_emit_context.h backend/glasm/reg_alloc.cpp backend/glasm/reg_alloc.h - backend/glsl/emit_context.cpp - backend/glsl/emit_context.h backend/glsl/emit_glsl.cpp backend/glsl/emit_glsl.h backend/glsl/emit_glsl_atomic.cpp @@ -47,10 +45,10 @@ add_library(shader_recompiler STATIC backend/glsl/emit_glsl_special.cpp backend/glsl/emit_glsl_undefined.cpp backend/glsl/emit_glsl_warp.cpp + backend/glsl/glsl_emit_context.cpp + backend/glsl/glsl_emit_context.h backend/glsl/var_alloc.cpp backend/glsl/var_alloc.h - backend/spirv/emit_context.cpp - backend/spirv/emit_context.h backend/spirv/emit_spirv.cpp backend/spirv/emit_spirv.h backend/spirv/emit_spirv_atomic.cpp @@ -72,6 +70,8 @@ add_library(shader_recompiler STATIC backend/spirv/emit_spirv_special.cpp backend/spirv/emit_spirv_undefined.cpp backend/spirv/emit_spirv_warp.cpp + backend/spirv/spirv_emit_context.cpp + backend/spirv/spirv_emit_context.h environment.h exception.h frontend/ir/abstract_syntax_list.h diff --git a/src/shader_recompiler/backend/glasm/emit_context.cpp b/src/shader_recompiler/backend/glasm/glasm_emit_context.cpp similarity index 100% rename from src/shader_recompiler/backend/glasm/emit_context.cpp rename to src/shader_recompiler/backend/glasm/glasm_emit_context.cpp diff --git a/src/shader_recompiler/backend/glasm/emit_context.h b/src/shader_recompiler/backend/glasm/glasm_emit_context.h similarity index 100% rename from src/shader_recompiler/backend/glasm/emit_context.h rename to src/shader_recompiler/backend/glasm/glasm_emit_context.h diff --git a/src/shader_recompiler/backend/glsl/emit_context.cpp b/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp similarity index 100% rename from src/shader_recompiler/backend/glsl/emit_context.cpp rename to src/shader_recompiler/backend/glsl/glsl_emit_context.cpp diff --git a/src/shader_recompiler/backend/glsl/emit_context.h b/src/shader_recompiler/backend/glsl/glsl_emit_context.h similarity index 100% rename from src/shader_recompiler/backend/glsl/emit_context.h rename to src/shader_recompiler/backend/glsl/glsl_emit_context.h diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp similarity index 100% rename from src/shader_recompiler/backend/spirv/emit_context.cpp rename to src/shader_recompiler/backend/spirv/spirv_emit_context.cpp diff --git a/src/shader_recompiler/backend/spirv/emit_context.h b/src/shader_recompiler/backend/spirv/spirv_emit_context.h similarity index 100% rename from src/shader_recompiler/backend/spirv/emit_context.h rename to src/shader_recompiler/backend/spirv/spirv_emit_context.h