mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge remote-tracking branch 'GPUCode/vk-dynamic' into canary2798
This commit is contained in:
		
						commit
						d40caf39c5
					
				
					 3 changed files with 3 additions and 0 deletions
				
			
		|  | @ -24,6 +24,7 @@ vec4 GetScreen(int screen_id) { | |||
| #ifdef ARRAY_DYNAMIC_INDEX | ||||
|     return texture(screen_textures[screen_id], frag_tex_coord); | ||||
| #else | ||||
| // Not all vulkan drivers support shaderSampledImageArrayDynamicIndexing, so index manually. | ||||
|     switch (screen_id) { | ||||
|     case 0: | ||||
|         return texture(screen_textures[0], frag_tex_coord); | ||||
|  |  | |||
|  | @ -36,6 +36,7 @@ vec4 GetScreen(int screen_id) { | |||
| #ifdef ARRAY_DYNAMIC_INDEX | ||||
|     return texture(screen_textures[screen_id], frag_tex_coord); | ||||
| #else | ||||
| // Not all vulkan drivers support shaderSampledImageArrayDynamicIndexing, so index manually. | ||||
|     switch (screen_id) { | ||||
|     case 0: | ||||
|         return texture(screen_textures[0], frag_tex_coord); | ||||
|  |  | |||
|  | @ -24,6 +24,7 @@ vec4 GetScreen(int screen_id) { | |||
| #ifdef ARRAY_DYNAMIC_INDEX | ||||
|     return texture(screen_textures[screen_id], frag_tex_coord); | ||||
| #else | ||||
| // Not all vulkan drivers support shaderSampledImageArrayDynamicIndexing, so index manually. | ||||
|     switch (screen_id) { | ||||
|     case 0: | ||||
|         return texture(screen_textures[0], frag_tex_coord); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue