00cc9309cb
de6e324bdseparate emu thread10d3daf86Roms List improvements95d202f37Let's make the rom list process on a separate thread so the emulator doesnt take ages to load.fc306967fWow the ROM Header was just completely busted. Game list view works nowbad1691eefuck this shit2b59e5f46game list in progressd26417b83remappable inputs in progressac4af8106inpute72abc240update readme430139dc9Qt6 frontend3080d4d45Fix this small bug too08cd13b85Cop0 unused functions do not actually pose a threat (as per manual). They don't do anything, so shall we.61bb4fb44make idle loop detection a little more specific with where the load goesb037de4c3SAZDFsdff12e81e73eneed to figure out why n64-systemtest loops indefinitely at some address that appears to be valid (i think it's me not invalidating the cache properly)204f0e13bidle skipping seems to work!cb8bb634asdkfjlasdf58e5c89c1Fix compilation issue on my machine (no idea)24fb2898eattempting more serious idle skipping214719577Place rsp.Step inside cached interpreter. Gains about 3 more fpsbb97dcc23mmmmm920b77d38wjkhasdfjhkasdf430ccdab4it's a start...4f42a673aCached interpreter plays Mario 64. Start looking into RSP as wellc9a030787idle skipping works!5fbda03cenew idea366637abaIdle skipping... maybe?609fa2fb0Cache instructions implemented but broken lmao. Commented out for nowe140a6d12- Stop using inheritance for CPU, instead use composition. - Introduce KAIZEN_JIT_ENABLED optional define instead of relying on __aarch64__ and the like. - More cache work68e613057prep cache impl811b4d809fix clang formatfda755f7didkd5024ebbfsmall MI refactor in preparation of (eventually) implementing the RDRAM interface properly694b45341Merge commit '206dcdedf195fb320913584180edb12c7731e396' as 'external/SDL'206dcdedfSquashed 'external/SDL/' content from commit 4d17b99d0a4d16e1cb4need to update sdl848b19920Fix compilation errordb61b5299Merge commit 'e94a94559f28e49678fbcf72199a5258137b0fe9' as 'external/imgui'e94a94559Squashed 'external/imgui/' content from commit 02e9b8cac52edb3757need to update imguic1a705e86Emulate weird JALR behaviour4b4c32f4bFix exception for "unusable COP1" in 4 instructions i missed accidentally (again)df5828142Bug putting 0s in the log everywheref8b580048Make isviewer a sink to file8241e9735Fix exception for "unusable COP1" in 4 instructions i missed accidentallyb29715f20small changesd9a620bc1make use of my new small utility library0d1aa938eAdd 'external/ircolib/' from commit 'ce3cd726c8df8388d554abf8bb55d55020eb4450'e64eb40b3Fuck git git-subtree-dir: external/ircolib git-subtree-split:de6e324bde
217 lines
10 KiB
C
217 lines
10 KiB
C
#ifndef VULKAN_BETA_H_
|
|
#define VULKAN_BETA_H_ 1
|
|
|
|
/*
|
|
** Copyright 2015-2024 The Khronos Group Inc.
|
|
**
|
|
** SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
** This header is generated from the Khronos Vulkan XML API Registry.
|
|
**
|
|
*/
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
// VK_KHR_portability_subset is a preprocessor guard. Do not pass it to API calls.
|
|
#define VK_KHR_portability_subset 1
|
|
#define VK_KHR_PORTABILITY_SUBSET_SPEC_VERSION 1
|
|
#define VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME "VK_KHR_portability_subset"
|
|
typedef struct VkPhysicalDevicePortabilitySubsetFeaturesKHR {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
VkBool32 constantAlphaColorBlendFactors;
|
|
VkBool32 events;
|
|
VkBool32 imageViewFormatReinterpretation;
|
|
VkBool32 imageViewFormatSwizzle;
|
|
VkBool32 imageView2DOn3DImage;
|
|
VkBool32 multisampleArrayImage;
|
|
VkBool32 mutableComparisonSamplers;
|
|
VkBool32 pointPolygons;
|
|
VkBool32 samplerMipLodBias;
|
|
VkBool32 separateStencilMaskRef;
|
|
VkBool32 shaderSampleRateInterpolationFunctions;
|
|
VkBool32 tessellationIsolines;
|
|
VkBool32 tessellationPointMode;
|
|
VkBool32 triangleFans;
|
|
VkBool32 vertexAttributeAccessBeyondStride;
|
|
} VkPhysicalDevicePortabilitySubsetFeaturesKHR;
|
|
|
|
typedef struct VkPhysicalDevicePortabilitySubsetPropertiesKHR {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
uint32_t minVertexInputBindingStrideAlignment;
|
|
} VkPhysicalDevicePortabilitySubsetPropertiesKHR;
|
|
|
|
|
|
|
|
// VK_AMDX_shader_enqueue is a preprocessor guard. Do not pass it to API calls.
|
|
#define VK_AMDX_shader_enqueue 1
|
|
#define VK_AMDX_SHADER_ENQUEUE_SPEC_VERSION 1
|
|
#define VK_AMDX_SHADER_ENQUEUE_EXTENSION_NAME "VK_AMDX_shader_enqueue"
|
|
#define VK_SHADER_INDEX_UNUSED_AMDX (~0U)
|
|
typedef struct VkPhysicalDeviceShaderEnqueueFeaturesAMDX {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
VkBool32 shaderEnqueue;
|
|
} VkPhysicalDeviceShaderEnqueueFeaturesAMDX;
|
|
|
|
typedef struct VkPhysicalDeviceShaderEnqueuePropertiesAMDX {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
uint32_t maxExecutionGraphDepth;
|
|
uint32_t maxExecutionGraphShaderOutputNodes;
|
|
uint32_t maxExecutionGraphShaderPayloadSize;
|
|
uint32_t maxExecutionGraphShaderPayloadCount;
|
|
uint32_t executionGraphDispatchAddressAlignment;
|
|
} VkPhysicalDeviceShaderEnqueuePropertiesAMDX;
|
|
|
|
typedef struct VkExecutionGraphPipelineScratchSizeAMDX {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
VkDeviceSize size;
|
|
} VkExecutionGraphPipelineScratchSizeAMDX;
|
|
|
|
typedef struct VkExecutionGraphPipelineCreateInfoAMDX {
|
|
VkStructureType sType;
|
|
const void* pNext;
|
|
VkPipelineCreateFlags flags;
|
|
uint32_t stageCount;
|
|
const VkPipelineShaderStageCreateInfo* pStages;
|
|
const VkPipelineLibraryCreateInfoKHR* pLibraryInfo;
|
|
VkPipelineLayout layout;
|
|
VkPipeline basePipelineHandle;
|
|
int32_t basePipelineIndex;
|
|
} VkExecutionGraphPipelineCreateInfoAMDX;
|
|
|
|
typedef union VkDeviceOrHostAddressConstAMDX {
|
|
VkDeviceAddress deviceAddress;
|
|
const void* hostAddress;
|
|
} VkDeviceOrHostAddressConstAMDX;
|
|
|
|
typedef struct VkDispatchGraphInfoAMDX {
|
|
uint32_t nodeIndex;
|
|
uint32_t payloadCount;
|
|
VkDeviceOrHostAddressConstAMDX payloads;
|
|
uint64_t payloadStride;
|
|
} VkDispatchGraphInfoAMDX;
|
|
|
|
typedef struct VkDispatchGraphCountInfoAMDX {
|
|
uint32_t count;
|
|
VkDeviceOrHostAddressConstAMDX infos;
|
|
uint64_t stride;
|
|
} VkDispatchGraphCountInfoAMDX;
|
|
|
|
typedef struct VkPipelineShaderStageNodeCreateInfoAMDX {
|
|
VkStructureType sType;
|
|
const void* pNext;
|
|
const char* pName;
|
|
uint32_t index;
|
|
} VkPipelineShaderStageNodeCreateInfoAMDX;
|
|
|
|
typedef VkResult (VKAPI_PTR *PFN_vkCreateExecutionGraphPipelinesAMDX)(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkExecutionGraphPipelineCreateInfoAMDX* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines);
|
|
typedef VkResult (VKAPI_PTR *PFN_vkGetExecutionGraphPipelineScratchSizeAMDX)(VkDevice device, VkPipeline executionGraph, VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo);
|
|
typedef VkResult (VKAPI_PTR *PFN_vkGetExecutionGraphPipelineNodeIndexAMDX)(VkDevice device, VkPipeline executionGraph, const VkPipelineShaderStageNodeCreateInfoAMDX* pNodeInfo, uint32_t* pNodeIndex);
|
|
typedef void (VKAPI_PTR *PFN_vkCmdInitializeGraphScratchMemoryAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch);
|
|
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
|
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphIndirectAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
|
typedef void (VKAPI_PTR *PFN_vkCmdDispatchGraphIndirectCountAMDX)(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, VkDeviceAddress countInfo);
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkCreateExecutionGraphPipelinesAMDX(
|
|
VkDevice device,
|
|
VkPipelineCache pipelineCache,
|
|
uint32_t createInfoCount,
|
|
const VkExecutionGraphPipelineCreateInfoAMDX* pCreateInfos,
|
|
const VkAllocationCallbacks* pAllocator,
|
|
VkPipeline* pPipelines);
|
|
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetExecutionGraphPipelineScratchSizeAMDX(
|
|
VkDevice device,
|
|
VkPipeline executionGraph,
|
|
VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo);
|
|
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetExecutionGraphPipelineNodeIndexAMDX(
|
|
VkDevice device,
|
|
VkPipeline executionGraph,
|
|
const VkPipelineShaderStageNodeCreateInfoAMDX* pNodeInfo,
|
|
uint32_t* pNodeIndex);
|
|
|
|
VKAPI_ATTR void VKAPI_CALL vkCmdInitializeGraphScratchMemoryAMDX(
|
|
VkCommandBuffer commandBuffer,
|
|
VkDeviceAddress scratch);
|
|
|
|
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchGraphAMDX(
|
|
VkCommandBuffer commandBuffer,
|
|
VkDeviceAddress scratch,
|
|
const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
|
|
|
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchGraphIndirectAMDX(
|
|
VkCommandBuffer commandBuffer,
|
|
VkDeviceAddress scratch,
|
|
const VkDispatchGraphCountInfoAMDX* pCountInfo);
|
|
|
|
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchGraphIndirectCountAMDX(
|
|
VkCommandBuffer commandBuffer,
|
|
VkDeviceAddress scratch,
|
|
VkDeviceAddress countInfo);
|
|
#endif
|
|
|
|
|
|
// VK_NV_displacement_micromap is a preprocessor guard. Do not pass it to API calls.
|
|
#define VK_NV_displacement_micromap 1
|
|
#define VK_NV_DISPLACEMENT_MICROMAP_SPEC_VERSION 2
|
|
#define VK_NV_DISPLACEMENT_MICROMAP_EXTENSION_NAME "VK_NV_displacement_micromap"
|
|
|
|
typedef enum VkDisplacementMicromapFormatNV {
|
|
VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV = 1,
|
|
VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV = 2,
|
|
VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV = 3,
|
|
VK_DISPLACEMENT_MICROMAP_FORMAT_MAX_ENUM_NV = 0x7FFFFFFF
|
|
} VkDisplacementMicromapFormatNV;
|
|
typedef struct VkPhysicalDeviceDisplacementMicromapFeaturesNV {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
VkBool32 displacementMicromap;
|
|
} VkPhysicalDeviceDisplacementMicromapFeaturesNV;
|
|
|
|
typedef struct VkPhysicalDeviceDisplacementMicromapPropertiesNV {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
uint32_t maxDisplacementMicromapSubdivisionLevel;
|
|
} VkPhysicalDeviceDisplacementMicromapPropertiesNV;
|
|
|
|
typedef struct VkAccelerationStructureTrianglesDisplacementMicromapNV {
|
|
VkStructureType sType;
|
|
void* pNext;
|
|
VkFormat displacementBiasAndScaleFormat;
|
|
VkFormat displacementVectorFormat;
|
|
VkDeviceOrHostAddressConstKHR displacementBiasAndScaleBuffer;
|
|
VkDeviceSize displacementBiasAndScaleStride;
|
|
VkDeviceOrHostAddressConstKHR displacementVectorBuffer;
|
|
VkDeviceSize displacementVectorStride;
|
|
VkDeviceOrHostAddressConstKHR displacedMicromapPrimitiveFlags;
|
|
VkDeviceSize displacedMicromapPrimitiveFlagsStride;
|
|
VkIndexType indexType;
|
|
VkDeviceOrHostAddressConstKHR indexBuffer;
|
|
VkDeviceSize indexStride;
|
|
uint32_t baseTriangle;
|
|
uint32_t usageCountsCount;
|
|
const VkMicromapUsageEXT* pUsageCounts;
|
|
const VkMicromapUsageEXT* const* ppUsageCounts;
|
|
VkMicromapEXT micromap;
|
|
} VkAccelerationStructureTrianglesDisplacementMicromapNV;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|