[GPU] XeSL texture load shaders + minor XeSL cleanup
This commit is contained in:
13
src/xenia/gpu/shaders/texture_load_depth_float.cs.xesl
Normal file
13
src/xenia/gpu/shaders/texture_load_depth_float.cs.xesl
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2022 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "pixel_formats.xesli"
|
||||
#define XE_TEXTURE_LOAD_32BPB_TRANSFORM(blocks) \
|
||||
(XeFloat20e4To32((blocks) >> 8u))
|
||||
#include "texture_load_32bpb.xesli"
|
||||
Reference in New Issue
Block a user