[GPU] Move all xenos.h to gpu::xenos, disambiguate Dimension/TextureDimension
This commit is contained in:
@@ -23,7 +23,7 @@ namespace vulkan {
|
||||
using xe::ui::vulkan::CheckResult;
|
||||
|
||||
VulkanShader::VulkanShader(ui::vulkan::VulkanDevice* device,
|
||||
ShaderType shader_type, uint64_t data_hash,
|
||||
xenos::ShaderType shader_type, uint64_t data_hash,
|
||||
const uint32_t* dword_ptr, uint32_t dword_count)
|
||||
: Shader(shader_type, data_hash, dword_ptr, dword_count), device_(device) {}
|
||||
|
||||
@@ -50,9 +50,9 @@ bool VulkanShader::Prepare() {
|
||||
vkCreateShaderModule(*device_, &shader_info, nullptr, &shader_module_);
|
||||
CheckResult(status, "vkCreateShaderModule");
|
||||
|
||||
char typeChar = shader_type_ == ShaderType::kPixel
|
||||
char typeChar = shader_type_ == xenos::ShaderType::kPixel
|
||||
? 'p'
|
||||
: shader_type_ == ShaderType::kVertex ? 'v' : 'u';
|
||||
: shader_type_ == xenos::ShaderType::kVertex ? 'v' : 'u';
|
||||
device_->DbgSetObjectName(
|
||||
uint64_t(shader_module_), VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT,
|
||||
fmt::format("S({}): {:016X}", typeChar, ucode_data_hash()));
|
||||
|
||||
Reference in New Issue
Block a user